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

RE: Newbie: how to switch the server IP address?

From: Olivier Lange <olange_at_petit-atelier.ch>
Date: 2003-04-29 22:50:45 CEST

Karl, Dave,

Karl Vogel wrote:
> Maybe you could run bind (or just update an /etc/resolv.conf entry) on
> your client box, and just use a host alias instead of an IP?

Oxley, David wrote:
> Register a host name. Install dns2go (http://www.dns2go.com). And your
host name will
> dynamically update to your current IP address when your ADSL modem changes
it.

Ok, as I understand, it is not possible to switch the URL of the repository
server of checked out files.

Thanks for the clues. I already knew of these alternate solutions. I just
didn't knew if it was possible to switch the URL with the Subversion client
for the checked out files. I will set up an alias and check out a new
working copy.

I would suggest mentionning in the documentation that it is not possible to
switch the URL of the repository server registered for checked out files;
that the repository URL is stored as meta-info with each repository node (as
I discovered it with 'svn info').

Olivier

-----Message d'origine-----
De : Karl Fogel [mailto:kfogel@newton.ch.collab.net]
Envoye : mardi, 29. avril 2003 20:04
A : Olivier Lange
Cc : dev@subversion.tigris.org
Objet : Re: Newbie: how to switch the server IP address?

Maybe you could run bind (or just update an /etc/resolv.conf entry) on
your client box, and just use a host alias instead of an IP?

"Olivier Lange" <olange@petit-atelier.ch> writes:
> How do I switch the server source URL once I checked out files from a
> Subversion repository? Is that possible?
>
> I checked out the files from a server which receives a dynamic IP address
> (thru an ADSL connection).
>
> Let's say it had the URL http://82.132.198.58/svnroot/project when I
checked
> the files out. But it's IP address changed today and it is 82.132.198.203.
>
> How can I instruct svn to check in some modified files at the URL
> http://82.132.198.203/svnroot/project? (not the same URL, but the same
> repository).
>
> My best guess was the use switch subcommand, but it reports "Bad URL
passed
> to RA layer".
>
> Olivier
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 29 22:51:39 2003

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

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