Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.