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

Re: Ignore not working as expected

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Wed, 13 Feb 2008 13:55:35 -0600

On Feb 13, 2008, at 10:55, Reedick, Andrew wrote:

>> Here's what I'm trying to accomplish:
>>
>> Suppose there's a repository with some tree structure.
>> 20G /
>> 18G /documentation
>> 17G /documentation/library
>> 1G /documentation/procedures
>> 2G /src
>>
>> If I want to checkout / but I want to neglect /documentation/library,
>> so
>> I'm checking out a total of 3G instead of 20G
>>
>> I've tried everything I could think of, with the svn:ignore property,
>> but never achieved the desired result. Any suggestions?
>
> Plan B: 'svn update -N' -N will do a non-recursive checkout, but it
> requires a bit more effort.
>
> svn co -N / # leaves documentation and src empty
> svn update src # full checkout of src
> svn update -N /documentation # leaves library and procedures empty
> cd documentation
> svn update /documentation/procedures # full checkout of procedures
>
> End result, library is empty, but everything else is checked-out.

Actually:

svn co -N $REPO wc
cd wc
svn up src
svn up -N documentation
svn up documentation/procedures

End result: there is no "library" directory in the "documentation"
directory. Everything else is checked out, except that if anyone ever
adds a new directory $DIR to $REPO or to the "documentation"
directory, you won't see it in your working copy until you explicitly
run "svn up $DIR".

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-13 20:56:20 CET

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.