[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

checking out a branch - is similarly named target folder created automatically?

From: Doucette, Charles <cdoucette_at_vaultus.com>
Date: 2007-04-24 23:36:32 CEST

We have a typical repository organization
 
trunk
branches
tags
 
we tell people that they should not check out the entire repository,
because they usually only want the trunk or a particular branch.
 
So, they must select trunk in the source URL.
The question is, what should they put for the destination?
 
In our case, our repository is called software.
 
So, our typical working directory structure is:
 
c:\software\trunk
C:\software\branches\VMP5_4
C:\software\branches\VMP5_5_2
 
When I decide to checkout the trunk, I'll select the C:\software directory
in Windows explorer and bring up the context menu TortoiseSVN checkout. I'll
choose the source URL which ends with trunk, and by default the target
directory will initially be C:\software.
 
I want it to automatically create a subdirectory trunk under repository
control, and then put the contents of trunk under that.
Instead, I have to manually create trunk and then checkout into
C:\software\trunk instead.
 
Similarly, when I checkout a branch, I don't want to checkout all of the
branches.
Thus, the source URL is always a particular branch. I must select the source
URL manually.
Must I also create the target branch folder to match manually also, or could
it automatically create it too?
 
It's probably hard to change how TortoiseSVN works now; but, this does not
appear to be consistent with the way the command line tool works.
 
I just tried this:
 
C:\> CD software\branches
C:\software\branches> svn co svn://<server>/<repos>/branches/VMP5_5_1
 
and it created a subdirectory of VMP5_5_1 under source code control.
I didn't have to create it first.
 
Thanks,
Chuck
 

  _____

Charles E. Doucette * 617-399-1122 * Vaultus Mobile Technologies, 263
Summer St., Boston, MA 02210 * http://www.vaultus.com
<http://www.vaultus.com/>
 
Received on Tue Apr 24 23:37:48 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.