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

Sparse Directories and svn switch

From: Timothy Garnett <tgarnett_at_panjiva.com>
Date: Fri, 14 May 2010 16:19:41 -0400

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
Received on 2010-05-14 22:30:04 CEST

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.