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

Re: How can I check out parts of a directory tree?

From: Carsten Koch <Carsten.Koch_at_icem.com>
Date: 2005-06-28 10:50:00 CEST

Lieven,

Lieven Govaerts wrote:
...
> 2. find a file:
>
>>svn list -R|grep nl.po
>
> subversion/translations/nl.po
>
> 3. fetch the file:
...
>>svn update -N ./subversion
>
> A subversion
>
>
>>svn update -N ./subversion/translations
>
> A subversion\translations
> A subversion\translations\nl.po
>
> So you'll get all files in the same folder as the one file you're
> interested in.
>
> Hope this helps.

Yes, thank you, that was very helpful. :-)

I have done some tests along these lines already.

I see two problems with this, which I believe can be fixed
within the constraints of subversions philosophy.

1) svn list -R is extremely slow, which makes it hard to
    use it generously to provide a simplified file-name-only-based
    interface for checkout.
    I believe there are several issue entries about this already.
    See http://subversion.tigris.org/issues/show_bug.cgi?id=1742
    and http://subversion.tigris.org/issues/show_bug.cgi?id=1809

2) It would be great to have another option, similar to -N,
    but one level "stronger", that only updates the directory
    (i.e. creates it, updates its properties, etc.), but does
    not download any of its files.

What do people think?
Is it possible and useful to fix these two?

Cheers,

Carsten.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 28 10:53:30 2005

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

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