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

RE: Re: Practical experience using externals

From: Mike Craig <Mike.Craig_at_freeclear.com>
Date: 2006-03-08 01:16:54 CET

Newbie here...

Is the Subversion 'Externals' similar to VSS 'Sharing'? So you can have
a common library checked into one location and shared out to another
project? In VSS you could do this and edit it in either location, of
course, the purpose here is to consume the library not edit it in the
new location.

Thanks.

-----Original Message-----
From: Jacob Atzen [mailto:jacob@aub.dk]
Sent: Tuesday, March 07, 2006 2:14 PM
To: Elbert Wall
Cc: users@subversion.tigris.org
Subject: Re: Practical experience using externals

On Tue, Mar 07, 2006 at 03:06:59PM -0600, Elbert Wall wrote:
> Does anyone have any hands-on experience doing this? The Subversion
> manual section on this is pretty thin gruel. I'd like something that
> will stick to my ribs.

I have practical experience doing this, and it's not that hard. Say you
have a directory structure like:

- project
  - source
  - libs

And you want to import some libraries into libs you simply do something
like:

        svn pe svn:externals /path/to/libs

And in that "file" you insert the references as described in the
book[1]:

        third-party/sounds http://sounds.red-bean.com/repos

Or you might want to check out a speciel revision instead of the head:

        third-party/sounds -r21 http://sounds.red-bean.com/repos

I hope this helps.

-- 
Cheers,
- Jacob Atzen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 8 01:18:01 2006

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.