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

Reply via email to