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

Re: non-recursive checkout with later added subfolders

From: Andrew Thompson <subversionuser_at_aktzero.com>
Date: 2005-04-11 18:23:40 CEST

C.A.T.Magic wrote:
>> i need file file1-3 AND everything from subdir1, so i do:
>> cd ~
>> svn co http://.../trunk/ workingdir --non-recursive
>> cd ~/workingdir
>> svn co http://.../tunk/subdir1 subdir1
>>
>
> try it with 'update' instead of 'checkout':
>
> cd ~
> svn co http://.../trunk/ workingdir --non-recursive
> cd ~/workingdir
> svn update subdir1
> ...

I was following the problem and trying to figure out an answer.

update seems to work:

C:\tmp\hgre>svn checkout file:///c:/tmp/hgre/test/trunk -N tr
A tr\sitemap.html
A tr\index.html
Checked out revision 10.

C:\tmp\hgre\tr>svn update
A dir1\sitemap.html
U dir1\index.html
Updated to revision 11.

C:\tmp\hgre\tr>svn update
A dir1\sitemap.html
U dir1\index.html
Updated to revision 11.

C:\tmp\hgre\tr>svn stat -v
                11 11 athompson .
                11 11 athompson dir1
                11 11 athompson dir1\sitemap.html
                11 11 athompson dir1\index.html
                11 5 athompson sitemap.html
                11 5 athompson index.html

The only thing that kind of bothered me was that the .svn folder might
not realize that the two folders were part of the same working copy. The
status -v seems to indicate that it does indeed know.

Note: I am not familiar with the .svn/ structure enough to figure out if
this is exactly the case.

Hey look, update supports --non-recursive as well. What fun we could
have selectively pieceing a folder structure together...

-- 
Andrew Thompson
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 11 18:48:09 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.