We had a repository with a size of 5 gigs. It was a mistake so we run an svnadmin dump and then svnfilter all unneeded files. Now the repository is 500 megs. We want to point the working copies of the old repository (5 gigs) to the new repository.

Will svn switch work? if not, how we do this?

2 Answers 2


You'll need to check out a new working copy, svn switch will not work in these circumstances.


SVN switch is designed to be used and usually applied to cases, when both locations share common ancestry and it can mess up with 2 different repos and results of this action are unpredictable :)

I suggest you to use svn diff to generate diff files, then checkout new working copy, and apply patch to it .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.