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

Re: How to checkout partial directories in a project?

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2006-09-14 00:39:13 CEST

Liu Yubao wrote:
> Stefan Küng wrote:
>> On 9/13/06, Liu Yubao <yubao.liu@gmail.com> wrote:
>>> My example repos:
>>> /trunk/A/a
>>> /trunk/B/b
>>> /trunk/C/c
>>> I want to check out A and B, with svn I can do:
>>> svn co -N http://xxx/trunk/ work # get work/.svn
>>> cd work # 'svn ls' shows the tree in repos, 'svn
>>> status' shows nothing
>>> svn update A B # get A/a, B/b, A/.svn, B/.svn
>>> but I don't find the way to do the third step with TortoiseSVN, and I
>>> wouldn't like to check out A and B individually as I can't commit a
>>> patch across A and B.
>> Sending your mail to one list would have been enough.
>> http://tortoisesvn.net/node/237
>> Stefan
> Sorry for duplicate mails.
> The method pointed out on that URL can ignore directories that I don't
> care, but I need do an unwanted checkout for C/ from the real repos at
> the first time, of course, it's not a big problem, just not so intuitive.

I agree, it's a clever solution, but only really works if you do it when
the project is new and small, or if you already have the big checkout
and want to hide parts of it.

There is another solution with externals which I have just added as an
FAQ entry:


Note that this solution probably requires 1.4.0 ... coming soon :-)

> I think it's better to add an "update" menu item (and "missing" icon for
> each missing directory?) in the SVN Repo-browser, since 'svn update' can
> deal with this case now, we don't need a switch trick any more.

Non-recursive checkouts seem to be even more broken in svn 1.4.0, but
there is work under way to make them work properly, so I don't think we
should even try to make a workaround now.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Sep 14 00:38:38 2006

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.