views:

151

answers:

1

How do you add a existing ASP.NET website to Subversion dealing with the problems that Subversion dosent support multiple folder structures in the repository:

An default ASP.NET Website Solution folder structure look like this: C:\Documents and Settings\UserName\My Documents\Visual Studio 2008\Projects\WebSite1\

WebSite1.sln

WebSite1.suo

C:\Documents and Settings\UserName\My Documents\Visual Studio 2008\WebSites\WebSite1\

App_Data

Default.aspx

web.config

How do i import the website to the repository? How do i get working copys of the website from the repository? How do i branch the website? How do i merge the websitebranch into the trunk?

+1  A: 

You can put your files whereever you like in your file system you do not have to accept visual studio defaults. Also subversion would cope just fine with that file structure, it does not care where they are so long as you can define a common root in the repo to store the files. You don't even have to store them like that locally, you can check out different bits of a repo to completely differnt areas of the file system.

Ben Robinson
It would be nice if you could explain in detail how to add an existing website to a subversion repository, wich folder structure you use and how you branch and merge the solution.
EasyDot