I assumed that the relocate ran well because it doesn't throw any error.
In the working copy I did:
svn switch --relocate http://old_ip_address svn+ssh://user@new_ip_address
Then I did (still in the working copy)
The URL field still continues with the old ip address
For consequent the svn up won't work.
From: Ryan Schmidt [mailto:subversion-2006Q1@ryandesign.com]
Sent: segunda-feira, 20 de Fevereiro de 2006 14:23
To: Pedro Rafael Alves Simões
Cc: Gale, David; firstname.lastname@example.org
Subject: Re: svn server changed its address
On Feb 20, 2006, at 14:12, Pedro Rafael Alves Simões wrote:
>> Pedro Rafael Alves Simões wrote:
>>> Hello, my svn server changed its address. How do I change locally
>>> address to commit the projects? I've tried the following command:
>>> svn switch -relocate http://old_address/PATH/PROJECT
>>> but it throws the error: svn: '.' is not a working copy
>>> How can I resolve this? Thanks.
>> Well, the error message indicates you're not doing the command
>> from your working copy. Either cd to the WC before doing the
>> command, or add its path after the new address.
> I've done the command inside the working copy. Apparently it was
> successful, but when a try a svn ci -m "test" PROJECT or svn ci -m
> "test" inside of the working copy, it complains with this:
> svn: Commit failed (details follow):
> svn: Can't connect to host 'old_ip_address': No route to host
> The --relocate didn't do anything?
Try "svn info" in your working copy. Does it still show the old
repository address? If so, you did not successfully execute the
relocate command; try again.
I'd try using "svn up" to test if the relocate worked, rather than
"svn ci"; it's less destructive.
Why do you think the relocation was successful? I thought you said it
produced an error message.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Mon Feb 20 15:43:24 2006