You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by vichy <vi...@gmail.com> on 2008/10/25 04:07:30 UTC

how to get the original repository when my server change ip address

Dear all:
My svn server change ip address, but my working copy still keep the
old ip address.
So each time I use svn update, it will complain that the serve doesn't exist.
I find there is a file called, entries, and it keep record my old ip address.

should I update ip address in each entries or is there any faster way to do so?
Appreciate your help,
miloody

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: how to get the original repository when my server change ip address

Posted by vichy <vi...@gmail.com>.
>
> No, it seems that you could also change the svn server, the
> repository, etc. See subversion book
> http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.switch.html
Hi:
I found my problem is.
I should use --relocate option, since but my location of the
repository has changed.
thanks for your help.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: how to get the original repository when my server change ip address

Posted by Bogdan Cristea <cr...@gmail.com>.
On Sat, Oct 25, 2008 at 9:42 AM, vichy <vi...@gmail.com> wrote:
>> I have never used svn switch in this way. It could be possible.
>> In this case either you manually change the IP in the files from .svn
>> folder, but you risk to broke your working copy, either you do a
>> checkout in a new folder.
>>
> Hi:
> from my case.
> Can I get the conclusion that switch is only used for changing between
> trunk, tags and branches under the same repository.
> if we try to cross different repositories, it will fail.
> Thanks for your help,
> miloody
>

No, it seems that you could also change the svn server, the
repository, etc. See subversion book
http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.switch.html

-- 
Bogdan Cristea

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: how to get the original repository when my server change ip address

Posted by vichy <vi...@gmail.com>.
> I have never used svn switch in this way. It could be possible.
> In this case either you manually change the IP in the files from .svn
> folder, but you risk to broke your working copy, either you do a
> checkout in a new folder.
>
Hi:
from my case.
Can I get the conclusion that switch is only used for changing between
trunk, tags and branches under the same repository.
if we try to cross different repositories, it will fail.
Thanks for your help,
miloody

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Fwd: how to get the original repository when my server change ip address

Posted by Bogdan Cristea <cr...@gmail.com>.
---------- Forwarded message ----------
From: Bogdan Cristea <cr...@gmail.com>
Date: Sat, Oct 25, 2008 at 9:32 AM
Subject: Re: how to get the original repository when my server change ip address
To: vichy <vi...@gmail.com>


On Sat, Oct 25, 2008 at 9:11 AM, vichy <vi...@gmail.com> wrote:
>> use svn switch
>> In your case, since IP address changes often, it should be better to use a DNS
> hi:
> thanks for your help.
> I try switch command, but the output seems still try to access the old
> ip and get an error message.
>
> "D:\uClinux_2_6_x>svn switch svn://192.168.47.128/uClinux_2_6_x/trunk
> svn: Can't connect to host '192.168.116.128': A connection attempt
> failed because the connected party did not properly respond after a
> period of time, or established connection failed because connected
> host has failed to respond."
>
> does that mean this command will first check the old ip then switch to
> the new one?
> Thanks for your help,
> miloody
>

I have never used svn switch in this way. It could be possible.
In this case either you manually change the IP in the files from .svn
folder, but you risk to broke your working copy, either you do a
checkout in a new folder.

--
Bogdan Cristea



-- 
Bogdan Cristea

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: how to get the original repository when my server change ip address

Posted by Bogdan Cristea <cr...@gmail.com>.
On Sat, Oct 25, 2008 at 7:07 AM, vichy <vi...@gmail.com> wrote:
> Dear all:
> My svn server change ip address, but my working copy still keep the
> old ip address.
> So each time I use svn update, it will complain that the serve doesn't exist.
> I find there is a file called, entries, and it keep record my old ip address.
>
> should I update ip address in each entries or is there any faster way to do so?
> Appreciate your help,
> miloody
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

use svn switch
In your case, since IP address changes often, it should be better to use a DNS

-- 
Bogdan Cristea

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org