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

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

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-08-05 16:05:06 CEST

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.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Aug 5 16:06:39 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.