Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN best practice - checking out root folder

Once the structure of a repository is set up, i.e. trunk, branches, tags, is it normal to have the root checked out to our local machines. Or should you only check out the trunk if that's what you are working on or a branch if we so choose to create one.

The reason I ask is that every time someone creates a branch or tag we all get a copy when we do an update.

like image 474
Stephen Dolier Avatar asked Mar 26 '10 06:03

Stephen Dolier


People also ask

How do you SVN checkout a folder?

So we right-click on this folder and select 'SVN Checkout…' From here we'll specify the location of the repository that we want to check our files out from. So something like… If you've forgotten what this URL is then you can go back to the VisualSVN server app and right click to select 'Copy URL to Clipboard'.

How do I checkout a trunk in SVN?

What you can do is to create a new project add define external links from it to every other projects trunks. External link works like softlink. You can then chekout everything in one step.

What does check out mean in SVN?

svn checkout checks out (retrieves) a working copy of the repository into the specified folder. If you don't have access to the repository, and there's not already a current copy of the source in the folder, you can't possibly do a build. If there is a current copy of the source there, it should include build.


1 Answers

No, that is highly unusual. That will make svn update really suck if you have lots of branches and such. Also, it's annoying -- at least to me -- to navigate that far down to get to your actual code. Just check out trunk or whichever branch you happen to be working on. You can use svn switch if you want to change back to trunk or to a different branch. Use svn help switch for more info on that command.

like image 161
Michael Aaron Safyan Avatar answered Oct 02 '22 14:10

Michael Aaron Safyan