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

check out everything except, '<this>' subfolder should be shallower

From: Lathan Bidwell <lathan_at_andrews.edu>
Date: Wed, 23 Jan 2013 11:20:19 -0500

Hey,

I have a subversion tree that has several sub-folders (buried deep in
the tree) that contain large amounts of media files... mp3, m4v, ....

What I am trying to do is to checkout "smaller" versions of my
repository by setting those media folders to be --depth empty.

I have been experimenting with --set-depth immediates and such.

What I am running into, is that there is no easy way to checkout the
repository without downloading everything. It is quite a pain to
checkout the repository as depth empty and then try to get it back to
depth infinity.

/ (infinity)
/a (infinity)
/b (infinity)
*/b/media (empty)*
/b/regular (infinity)
/b/regular/files (infinity)
/b/regular/files/here (infinity)
/c (infinity)
/d (infinity)
*/d/media (empty)*

How can i checkout out this sample repository without downloading the
/b/media/ and /d/media folders?

The example i have (with checking it all out first is):
svn checkout '<repository>' --depth immediates
svn update --set-depth exclude /b/media
svn update --set-depth exclude /d/media
svn update --set-depth infinity *

Perhaps I am confused, but wouldn't that last depth infinity reset the
depth exclude from the previous lines?

Thank you for your help,

Lathan Bidwell
Andrews University
Received on 2013-01-23 19:55: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.