[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Switch and svn:externals

From: Ross Mark <rossm_at_controllingedge.com.au>
Date: 2004-07-26 04:34:08 CEST

kfogel@collab.net wrote:

>Is there a way to predict in advance whether the 'switch' should or
>not fail, perhaps by comparing repository UUIDs from the .svn/entries
>files?
>
>I like the general shape of your solution, but feel edgy about trying
>a command to see if it fails. It seems like in this case we ought to
>know whether a switch would work in the first place...
>
>
>
This was the main reason for not submitting the patch earlier as I
didn't like the fact that an unlock had to be called as it might hide
other problems. My knowledge of svn's internals is basically
non-existent and I took a straight hack approach to solving the problem.
If there was an easy way to compare the repository UUID entries before
trying the switch then I think it would probably prevent the need for
the cleanup.

>>I was going to wait until 1.1 was fully released before trying to
>>submit the patch.
>>
>>
>
>The trunk is still under development as usual, of course, but if you
>want to wait until 1.1 is out just to simplify things, that's fine.
>
>-Karl
>
>
My initial patch was for the 1.0.5 line but I did also have a version
that worked with a pre 1.1. I'll confirm that it still works and submit
it. Possibly someone else is able to add the UUID comparison code.

Ross

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 26 04:33:56 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.