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

[TSVN] Re: Bug report: "relocate" does not work in some cases

From: Thorsten Möller <Thorsten.Moeller_at_umit.at>
Date: 2005-08-08 09:56:16 CEST

On Friday, August 05, 2005 4:05 PM, SteveKing <steveking@gmx.ch> wrote (with
possible deletions):

> Thorsten Möller wrote:
>
>> because of a switch from plain svn protocol to svn+ssh I had to
>> relocate all my local working copies. For two of them it did not
>> work, which means that TortoiseSVN finished relocating without error
>> but simply did not set the new URL, i.e. the former URL remained.
>> The URLs for which it did not work are:
>>
>> svn+ssh://<myHost>/teaching/trunk/Lectures/Verteilte
>> Systeme/Distributed Transactions
>> svn+ssh://<myHost>/teaching/trunk/Lectures/Verteilte Systeme/RMI
>> Example Maybe it's because the path is quite long and/or contains spaces.
>
> Just noticed that TSVN does indeed escape the URLs automatically. So
> there must be another reason why the relocate didn't work as expected.
>
> Question:
> When you right-clicked to bring up the relocate dialog, which URL
> corresponds to that folder?
>
> The problem you might have gone through is this:
>
> - wc-root pointing to file:///repos/trunk
> - you relocate from file:///repos/trunk/subfolder to
> file:///repos/trunk/subfolder2
>
> Now, Subversion tries to relocate from the wc root down. But the wc
> root points to file:///repos/trunk, which doesn't match
> file:///repos/trunk/subfolder (the strings don't match). So it stops
> the relocating without an error.
>
> Note: relocating is *only* be used if the server part of an URL
> changes. If you just change a subfolder, you must use the switch
> command.

Because of the switch from plain svn protocol to svn+ssh I had to change the
protocol and the host part of the URL. Id did not change the subfolder. I
know that I have to use the switch command when moving to another subfolder.
The only thing different is that the host part of the URL actually is a
Putty session name and not a DNS host name.

Regards,
Thorsten

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Aug 8 09:57:44 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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