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

Re: Help with svn:externals

From: Paul Lussier <pll_at_lanminds.com>
Date: 2002-10-23 17:21:24 CEST

In a message dated: Tue, 22 Oct 2002 16:25:40 CDT
Nicholas Riley said:

>On Tue, Oct 22, 2002 at 04:57:03PM -0400, Paul Lussier wrote:
>> Can I some how specify I only want to check out bin/, etc/, and lib/
>> but not mail/ and .netscape/. Is there a way to create an alias for
>> certain combinations of sub-dirs you want grouped together? Would
>> that be handled by the 'svn:externals' thing?
>
>Yes. But instead of creating a module, you'd just create (svn mkdir)
>another location in the repository with the appropriate svn:externals
>set. This is a common theme of Subversion: lots of separate concepts
>in CVS - tags, branches, modules - are supported in a more free-form
>fashion in Subversion according to the layout of your repository.

Okay, I sorta get it. But am I setting the svn:externals property on
the new directory I just made, or on the parent repository itself?

IOW, I start out by:

        svn mkdir foo
        svn commit -m"made new dir foo"

then, do I:

        svn propset svn:externals --file list_of_aliases.txt foo

or:
        svn propset svn:externals --file list_of_aliases.txt /path/to/repo/

or:
        svn propset svn:externals --file list_of_aliases.txt /path/to/repo/foo

Next, how exactly do I use this? Let's say that
'list_of_aliases.txt' contains:

        foo /path/to/repo/foo
        bar /path/to/repo/bar
        ff /path/to/repo/foo/ff

Can I then just say:

        svn co ff
?

Thanks,
        

-- 
Seeya,
Paul
--
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.
	 If you're not having fun, you're not doing it right!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 23 17:22:05 2002

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.