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

Re: svn server changed its address

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-02-20 15:23:17 CET

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
>>> the
>>> address to commit the projects? I've tried the following command:
>>>
>>> svn switch -relocate http://old_address/PATH/PROJECT
>>> svn+ssh://user@ip_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: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 20 15:29:42 2006

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

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