Discussion:
WC/repo reversed in UUID mismatch message
Micah Cowan
2007-07-03 22:53:36 UTC
Permalink
Can someone please confirm (so I can submit an issue):

When attempting to perform an "svn switch --relocate" from a previous
repo to a mirror created using svnsync, the message was:

svn: The repository at 'svn://mydomain.org/repo' has uuid 'xxx', but the
WC has 'yyy'

However, the message is incorrect, in that it's actually the WC that has
xxx. This really threw me, because I ran svnadmin load --force-uuid
several times to set mydomain.org/repo's UUID to yyy, which it in fact
already was. After peeking at the WC's .svn/entries file, I realized the
problem, and set the repo's UUID to xxx, after which point the switch
worked.
--
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
Karl Fogel
2007-07-03 23:51:18 UTC
Permalink
Post by Micah Cowan
When attempting to perform an "svn switch --relocate" from a previous
svn: The repository at 'svn://mydomain.org/repo' has uuid 'xxx', but the
WC has 'yyy'
However, the message is incorrect, in that it's actually the WC that has
xxx. This really threw me, because I ran svnadmin load --force-uuid
several times to set mydomain.org/repo's UUID to yyy, which it in fact
already was. After peeking at the WC's .svn/entries file, I realized the
problem, and set the repo's UUID to xxx, after which point the switch
worked.
Thanks for the report. What version of the Subversion client was this
with?

-Karl
--
Subversion support & consulting <> http://producingoss.com/consulting.html
Micah Cowan
2007-07-04 00:00:56 UTC
Permalink
Post by Karl Fogel
Post by Micah Cowan
However, the message is incorrect, in that it's actually the WC that has
xxx. This really threw me, because I ran svnadmin load --force-uuid
several times to set mydomain.org/repo's UUID to yyy, which it in fact
already was. After peeking at the WC's .svn/entries file, I realized the
problem, and set the repo's UUID to xxx, after which point the switch
worked.
Thanks for the report. What version of the Subversion client was this
with?
Heh, whoops! Sorry for leaving that out.

This was with 1.4.3.
--
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
Karl Fogel
2007-07-04 02:04:11 UTC
Permalink
Post by Micah Cowan
Post by Karl Fogel
Post by Micah Cowan
However, the message is incorrect, in that it's actually the WC that has
xxx. This really threw me, because I ran svnadmin load --force-uuid
several times to set mydomain.org/repo's UUID to yyy, which it in fact
already was. After peeking at the WC's .svn/entries file, I realized the
problem, and set the repo's UUID to xxx, after which point the switch
worked.
Thanks for the report. What version of the Subversion client was this
with?
Heh, whoops! Sorry for leaving that out.
This was with 1.4.3.
I think this bug was fixed in 1.4.4:

------------------------------------------------------------------------
r22355 | glasser | 2006-11-19 18:49:42 -0800 (Sun, 19 Nov 2006) | 5 lines

* subversion/libsvn_client/relocate.c
(validator_func): Put repository and WC uuids in the correct
order in a "svn switch --relocate" error message.

Found by: John Belmonte <***@neggie.net>
------------------------------------------------------------------------

Best,
-Karl
--
Subversion support & consulting <> http://producingoss.com/consulting.html
Loading...