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

Re: Can't specify location for Sparse directory

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 11 Mar 2009 21:33:53 +0100

Bob Archer wrote:
> I have a project with your typical:
>
> ProjectName
> - trunk
> - branches
> o v6.0.1
> o v6.0.2
>
> Layout.
>
> I check out the ProjectName to my c:\development folder with depth of
> empty.
>
> Now, I want to check out v6.0.2. So, I follow the docs, open the repo
> browser, select the branch and do an “Update to Revsion”, Fully Recursive.
>
> This all works fine, except it adds the “branches” folder to the WC. For
> example, it checks it out to here
>
> C:\development\ProjectName\branches\v6.0.2
>
> It never asks me where I want it, I want it here:
>
> C:\development\ProjectName\v6.0.2.
>
> I can do this with the CLI by doing something like:
> svn co URL ProjectName –depth=empty
> cd ProjectName
> svn co URL/branches/v6.0.2 –depth=infinity
> This checks the v6.0.2 to c:\development\projectname\v6.0.2

But this is not a sparse checkout. What you're doing here with the CLI
is a *nested* layout, not a sparse checkout. A sparse checkout has the
same layout as the repository, you can't move folders to a different place.

You can do a nested layout with TSVN too:
* check out 'ProjectName' with depth empty
* create an empty folder named 'v6.0.2'
* right-click on that folder, choose "checkout" and check out
URL/branches/v6.0.2 into that folder.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1309344
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-03-11 21:34:20 CET

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.