You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Timothy Garnett <tg...@panjiva.com> on 2010/05/14 20:19:41 UTC
Sparse Directories and svn switch
Hi all,
I was wondering if there was some way to get svn switch to work with sparse
directories. What I'm seeing when I use svn switch in a checkout where I've
used --set-depth on a subfolder to limit the size of the checkout is that
svn switch seems to reset all the depth to infinity. What I expected/would
like is that the depths would be sticky and I could expand them later if
needed. I am using svn version 1.6.5
For ex. something like:
svn co .../trunk
svn update --set-depth empty folder1/large_unneeded_folder
svn switch .../branch/my_branch
then recursively downloads all the files in large_unneeded_folder and depth
on that folder is no infinity.
Interestingly when I switch to the same repository path that doesn't happen.
i.e.
svn co .../trunk
svn update --set-depth empty folder1/large_unneeded_folder
svn switch .../trunk
doesn't download all the files in large_unneeded_folder
Is this the expected behavior and if so is there anyway to get svn switch to
preserve the depths?
Thanks!
Tim