I have a working copy of an entire SVN repository, but I want to change it into a sparse working copy because of disk space issues.
One way to do this would be:
I had the same problem, but what you wrote doesn't seem be possible in SVN 1.7, since the metadata format looks different.
Here's what I ended up doing (using the directories in your situation). First, I copied project1
and project2
somewhere safe.
svn co --depth immediates svn_url/projects
This checks out projects
with empty directories project1
and project2
. I then delete the empty folders and put the actual directories in their place. SVN gives me some weird messages but it seems to work and allows me to commit. (It does not work with --depth empty
and then copying the folders in, but immediates
seems to work.)
I agree this situation is not ideal, but that's why I'm switching to Git for future projects! I've used SVN for a long time, but it is getting beyond hope.