[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: Res Pons <pons32_at_hotmail.com>
Date: 2006-08-17 21:59:48 CEST

Mark

Thanks for all the info. So if I'm running svn on a linux redhat enterprise
3.5 server and I have the following projects at the root of the repo

ProjA
ProjB
ProjC
ProjD (just a common library folder w/o branches & tags & trunk subfolders)

And I want projD to be symlinked into A, B, & C when everyone checks out
these 3 latter projects so they automatically get projD into their working
folders... say I go to ProjA and create a file called what and what I do put
in it and just check it in? Our SVN server is a Linux box and developers
either use Eclipse plugin or svn commnad line; the Tortoise example totally
lost me. Sorry.

----Original Message Follows----
From: Mark Phippard <markp@softlanding.com>
To: "Res Pons" <pons32@hotmail.com>
CC: users@subversion.tigris.org
Subject: RE: SVN Externals
Date: Thu, 17 Aug 2006 12:36:28 -0400

"Res Pons" <pons32@hotmail.com> wrote on 08/17/2006 12:19:15 PM:

> 2nd try. I do not understand svn externals just reading the very brief
&
> UNCLEAR section in the svn manual.
>
> I have a single top folder(project) with 4 or 5 subfolders. I would
like to
> use svn externals to symlink this top project into other projects. The
> manual is very unclear whether I do this at the server level or user
level
> or whether each user needs to do it for themselves. I ran the example
> provided in the manual replacing the values with mine and I get tons of
> errors.
>
> svn propget svn:externals url project
>
> WHAT AM I DOING WRONG? Would someone please explain this to me step by
step
> in laymen simpleton terms? Thanks.

svn:externals is a versioned property. This means you set it in a local
working copy and then commit it to the repository. Once you do this, then
everyone gets it.

You set the property on a parent folder of the location you want the
externals to exist. For example, the TortoiseSVN repository has a folder
named "ext" under which they want to store some of their dependencies. The
"ext" folder contains the property svn:externals and it contains this for
a value:

Subversion https://svn.collab.net/repos/svn/branches/1.4.x/
apr https://svn.apache.org/repos/asf/apr/apr/tags/0.9.12/
apr-util https://svn.apache.org/repos/asf/apr/apr-util/tags/0.9.12/
apr-iconv https://svn.apache.org/repos/asf/apr/apr-iconv/tags/0.9.7/
neon http://svn.webdav.org/repos/projects/neon/tags/0.25.5/

When the TortoiseSVN project is checked out and the ext folder is
processed, the presence of the svn:externals property on the folder causes
these additional folders to be created and populated beneath it:

Subversion
apr
apr-util
apr-iconv
neon

Hope this helps.

Mark

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

_________________________________________________________________
Donít just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 17 22:01:15 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.