I’m trying to move a working copy folder from it’s old dedicated svn server, to a new svn server where it is contained within a sub-folder. Using the following relocate command:
svn switch --relocate https://oldserver/svn/repos https://newserver/some/directory
I get:
svn: 'https://newserver/some/directory ' is not the root of the repository
Which is correct ….. but, err, how do I move the location regardless?
As far as I understand, you can’t use
svn switch(with or without--relocate) to move to a new repository. Think about it this way: your new repository’s HEAD revision is x, your old repository’s revision is y, so what is SVN supposed to do with the working copy’s base revision?svn help switchsays that--relocateis used to:Since this is not the case, I’m afraid you’ll have to perform a fresh checkout.