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

Re: relocate problem

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Sun, 14 Mar 2010 22:34:49 +0000

On 14 March 2010 12:47, opto <kbuecher_at_optosolar.com> wrote:
> Sorry for being not clear.
>
> Old location for repo (as given in Explorer properties of current working
> copy): file:///\BUEROK/SVNRep/SVNdotproject (OS of  BUEROK was Windows XP).

This URL looks wrong. The format for a UNC path is
file://HOSTNAME/dir/... with the special case for localhost that you
can use file:///dir or file:///c:/dir

The format subversion uses for UNC paths has changed over time, so it
may just be enforcing a more rigid definition when you relocate.

BUT ... I very strongly advise NOT to use file:// protocol on a
network share. Set up a proper server process to avoid potential data
loss in future, for all the reasons outlined in this FAQ:

http://tortoisesvn.tigris.org/faq.html#reponoserver

Simon

> Old computer Buerok is now out of service. The directory SVNRep has been
> copied to the new computer. It and its subfolders are now on drive I:
> I:\users\SVNRep\SVNdotproject ( in Vista business.)
> SVNRep itself is no repo (no conf  dav  db ... folders inside it).
>
> If I go to working copy, right click Tortoisesvn-> relocate, I get a message
> Asking: From URL (file:///\BUEROK/SVNRep/SVNdotproject ) to: here I can
> enter the new.
>
> Using the button to search for the directory, I select and it enters
> file:///I:/users/SVNRep/SVNdotproject into the to URL field.
>
> Pressing OK gives the following message:
>
>
>  it seems you are trying to relocate your working copy to a different path
> inside the same repository.
> From: file:///\BUEROK/SVNRep/SVNdotproject
> To  file:///I:/users/SVNRep/SVNdotproject
>
> A relocate is only needed if the path to a repository has changed.
> Changing to a different path inside a repositpry is done by a switch
> operation.
>
> more warnings....
>
> Do you really want to relocate Yes/No
> end of message.
>
> If I press yes, it confirms that it has relocated.
> But looking in subversion tab in explorer shows that there is still the repo
> address of BUEROK.
> The same happens if I include the new server name BUEROK1 into the to URL.
>
> On the other hand, the From and To URL are different, so one cannot be
> inside the other.
> Happens on Tortoisesvn 1.6.7 and 1.6.6.
>
> Do you have any idea what to do?

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2459636
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-14 23:34:50 CET

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

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