You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ron Olson <ta...@gmail.com> on 2008/03/26 14:28:24 UTC

Update IP address in working copy?

Hi all-

I have set up an Apache-based Subversion server on my home machine
that I access from my laptop when I'm on the road. I have a DHCP-based
IP address from my ISP that hasn't changed in eons, until yesterday,
when suddenly everything stopped working. I then discovered that my
machine had a new IP address and when I connected using the new IP,
everything worked fine.

Unfortunately, all my working copies on my laptop are pointed at the
old IP address. Nothing else has changed on the server changed; the
same projects and the same security are there, just now with a new IP.

I guess I could check out the projects again to a different place and
then copy over the working files, but that would be a big deal because
some of the files are images and are very very large.

Would it be possible to go into the .svn directory and replace the old
IP with the new one? I've been looking for the old address, though,
and can't find it. Is it possible to update the working copy this way?
If so, what would I need to modify?

Thanks,

Ron

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

RE: Update IP address in working copy?

Posted by ni...@planet.nl.
Take a look at svn switch. From the help:

2. switch --relocate FROM TO [PATH...]

  2. Rewrite working copy URL metadata to reflect a syntactic change only.
     This is used when repository's root URL changes (such as a scheme
     or hostname change) but your working copy still reflects the same
     directory within the same repository.

Hth,

Nick S.


-----Original Message-----
From: Ron Olson [mailto:tachoknight@gmail.com]
Sent: Wed 3/26/2008 15:28
To: users@subversion.tigris.org
Subject:  Update IP address in working copy?
 
Hi all-

I have set up an Apache-based Subversion server on my home machine
that I access from my laptop when I'm on the road. I have a DHCP-based
IP address from my ISP that hasn't changed in eons, until yesterday,
when suddenly everything stopped working. I then discovered that my
machine had a new IP address and when I connected using the new IP,
everything worked fine.

Unfortunately, all my working copies on my laptop are pointed at the
old IP address. Nothing else has changed on the server changed; the
same projects and the same security are there, just now with a new IP.

I guess I could check out the projects again to a different place and
then copy over the working files, but that would be a big deal because
some of the files are images and are very very large.

Would it be possible to go into the .svn directory and replace the old
IP with the new one? I've been looking for the old address, though,
and can't find it. Is it possible to update the working copy this way?
If so, what would I need to modify?

Thanks,

Ron

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



Re: Update IP address in working copy?

Posted by Andy Levy <an...@gmail.com>.
On Wed, Mar 26, 2008 at 10:28 AM, Ron Olson <ta...@gmail.com> wrote:
> Hi all-
>
>  I have set up an Apache-based Subversion server on my home machine
>  that I access from my laptop when I'm on the road. I have a DHCP-based
>  IP address from my ISP that hasn't changed in eons, until yesterday,
>  when suddenly everything stopped working. I then discovered that my
>  machine had a new IP address and when I connected using the new IP,
>  everything worked fine.
>
>  Unfortunately, all my working copies on my laptop are pointed at the
>  old IP address. Nothing else has changed on the server changed; the
>  same projects and the same security are there, just now with a new IP.
>
>  I guess I could check out the projects again to a different place and
>  then copy over the working files, but that would be a big deal because
>  some of the files are images and are very very large.
>
>  Would it be possible to go into the .svn directory and replace the old
>  IP with the new one? I've been looking for the old address, though,
>  and can't find it. Is it possible to update the working copy this way?
>  If so, what would I need to modify?

svn switch --relocate

You can avoid this issue by utilizing a service like DynDNS to get a
free DNS name which will follow your IP address.

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