I am trying to switch to a new SVN repository.
I currently have the following checkout:
$ svn info
svn+ssh://some.server.edu/home/name/svn-repositories/proj/trunk
Now I wanted to switch, but I get an error:
$ svn switch --relocate \
svn+ssh://some.server.edu/home/name/svn-repositories/proj/trunk \
https://subversion.assembla.com/svn/name/trunk/proj .
svn: The repository at 'https://subversion.assembla.com/svn/name/trunk/proj'
has uuid '...', but the WC has '...'
I thought the whole point of svn switch --relocate
was that there are two repositories with different uuids? How can I correctly switch to the new repos?
BTW, the directories should be correct: The old proj/trunk
and the new trunk/proj
contain exactly the same files etc.:
$ svn ls https://subversion.assembla.com/svn/<name>/trunk/proj
foo.txt
$ svn ls svn+ssh://some.server.edu/home/name/svn-repositories/proj/trunk
foo.txt
I am using svn 1.6.5 on the Mac.
svnadmin setuuid
save the day! – Matt Connolly May 10 '11 at 04:39