You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Micah Cowan <mi...@cowan.name> on 2007/07/03 22:53:36 UTC
WC/repo reversed in UUID mismatch message
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/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: WC/repo reversed in UUID mismatch message
Posted by Karl Fogel <kf...@red-bean.com>.
Micah Cowan <mi...@cowan.name> writes:
> Karl Fogel wrote:
>> Micah Cowan <mi...@cowan.name> writes:
>>> 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 <jo...@neggie.net>
------------------------------------------------------------------------
Best,
-Karl
--
Subversion support & consulting <> http://producingoss.com/consulting.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: WC/repo reversed in UUID mismatch message
Posted by Micah Cowan <mi...@cowan.name>.
Karl Fogel wrote:
> Micah Cowan <mi...@cowan.name> writes:
>> 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/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: WC/repo reversed in UUID mismatch message
Posted by Karl Fogel <kf...@red-bean.com>.
Micah Cowan <mi...@cowan.name> writes:
> 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.
Thanks for the report. What version of the Subversion client was this
with?
-Karl
--
Subversion support & consulting <> http://producingoss.com/consulting.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org