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

Re: svn:externals

From: Scott Gifford <sgifford_at_suspectclass.com>
Date: 2007-07-26 06:42:44 CEST

"Honza Rameš" <ramejan@gmail.com> writes:

> Hi everyone,
> I have a problem but I'm not sure how to solve it. I have repository on a
> server on LAN which is also accessible from Internet but adresses differ
> (unfortunately I cannot modify my router to translate DNS from LAN to point to
> same address as the Internet address). Is there some way how to tel SVN when
> updating from LAN to use one address for the external repository but use
> another when updating from the Internet? Or can I add two addreses for each
> external?

One fairly easy solution is to change the address in /etc/hosts
depending on where you are.

Another is to use "svn switch" to change the repository URL depending
on where you are.

Either of these should be fairly easy to automate.

-----Scott.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 26 06:41:42 2007

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.