Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

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

share|improve this answer

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 .

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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