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

externals stuff (was: [PATCH] Have default log message use relative paths)

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-03-22 03:32:13 CET

On Fri, Mar 21, 2003 at 04:17:08AM +0000, Colin Watson wrote:
> On Fri, Mar 21, 2003 at 02:51:39AM +0100, Branko ??ibej wrote:
>...
> > Weeel, it's not so hard to figure out what the top of the WC is; just
> > chop the end off of cwd() until you run out of .svn directories.
>
> Not necessarily. /home/cjwatson and /home/cjwatson/bin here are two
> different working copies. (I'd use svn:externals except for the fact
> that I use that repository from different locations where the hostname
> of the server is different.)

Actually, you could do something like this:

  /trunk
    ... whatever
  /modules
    /from-home
    /from-work

Just set up the svn:externals appropriately and have /home/cjwatson check
out the appropriate one. /from-home would use the hostname from home, and
would check out /trunk plus whatever else. etc.

IOW, don't put the svn:extrnals on /trunk itself, but somewhere else. And
then use the two "somewhere else" locations as the selection mechanism for
your hostnames.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 22 03:30:00 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.