Hi John,

You said "During the relocation we ran a script which changed all our
old absolute URLs for externals into the new style relative URLs."
The question is: did you do this with new commits, changing the
"svn:externals" properties in new revisions? Or did your script change
the properties "in history" (e.g. by executing a dump + manipulation +
load), effectively rewriting history?

If you did the latter, then you have invalidated all existing working
copies, and all your users should get new checkouts. You must regard
the relocated (and rewritten) repository as a new repository (and must
give it a new repos UUID).
SVN cannot cope with rewriting history. The existing working copies
think they are up to date (so no reason to fetch the changed
properties from the server), and the clients have no way to know that
history was rewritten.

If you did the changes to svn:externals properties with new additional
commits, then there should be no problem (if that is really the case,
then I don't understand what's going wrong either).

-- 
Johan

On Tue, Nov 17, 2020 at 9:52 AM John Danning via TortoiseSVN
<[email protected]> wrote:
>
> Hi Hartmut,
>
> You'd think that would work, but it didn't! Tortoise svn client is still 
> showing the old externals URLs in the properties dialog box, but if I look at 
> the same properties in the repo-browser it shows the new URLs.
>
> It's like tortoise has some data cached somewhere which it's refusing to 
> update.
>
> On Monday, November 16, 2020 at 3:34:58 PM UTC H. Niemann wrote:
>>
>> Hi John,
>>
>>
>>
>> As an external is a directory’s property, I would suspect that – if you 
>> committed the changes made by the script – a simple
>>
>> svn relocate for the base WC and an svn update would do the trick.
>>
>> This would update the properties, and then – after changing those properties 
>> – would loop over all externals and fix those.
>>
>> Or am I missing anything important?
>>
>>
>>
>> Hartmut
>>
>>
>>
>>
>>
>> Von: John Danning via TortoiseSVN <[email protected]>
>> Gesendet: Montag, 16. November 2020 11:47
>> An: TortoiseSVN <[email protected]>
>> Betreff: Relocate and externals URLs
>>
>>
>>
>> We recently relocated our svn repos to a new server.
>>
>>
>>
>> During the relocation we ran a script which changed all our old absolute 
>> URLs for externals into the new style relative URLs.
>>
>>
>>
>> This all worked fine and I can see the new relative URLs if I use the 
>> repo-browser, or if I do a completely fresh checkout. However, there seems 
>> to be absolutely no way to get tortoise svn client to see these changed URLs 
>> when using an existing checkout. They are all pointing at the old server 
>> when viewed from TortoiseSVN->Properties window.
>>
>>
>>
>> Does anyone know how to get this to work on an existing checkout?
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "TortoiseSVN" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tortoisesvn/dbceebd8-99be-4a41-8872-07cbcddb5e04n%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "TortoiseSVN" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tortoisesvn/de2fea77-8284-47ae-9b06-065093a246ban%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/CAB84uBXFdaud8%2B4fExR7xjEqTcKyM1SM1HT087BPMMVQP%3DNEnw%40mail.gmail.com.

Reply via email to