[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: Pedro Rafael Alves Simões <pedro-r-simoes_at_telecom.pt>
Date: 2006-02-20 15:38:58 CET

I assumed that the relocate ran well because it doesn't throw any error.

In short:

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)
svn info
  The URL field still continues with the old ip address

For consequent the svn up won't work.

-----Original Message-----
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; users@subversion.tigris.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
>>> 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:43:24 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.