[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-22 19:43:57 CEST

In a message dated: 22 Oct 2002 11:06:09 CDT
Karl Fogel said:

>Also, only subdirectories work right now, so you can't list .emacs in
>that description, unfortunately. Sorry about that.

Bummer :(

>(Is there some reason you don't just put your home dir under
>Subversion directly?)

Well, I was only using that as an example. My home dir isn't under
anything right now (with the exception of few critical files under
RCS control).

I was simply using my home dir as an example because it's a structure
(most) everyone understands, and, because of the LJ article which
explained how the author kept his home dir under CVS and used modules.

It sounded like a neat idea, and I figured that putting my home dir
under Subversion control would be a great excersise for me to learn
Subversion. Since I don't really know CVS, I didn't really grasp the
references he made to 'modules' and thought svn's 'svn:externals' was
similar in concept.

I believe the author of the article used CVS modules and aliases to
allow him to check out only portions of his home directory. For
instance, when setting up a new server, you may want to bring over
your ~/bin/ dir, but not your ~/Mail/, so you could do something like:

        cvs co home-bin

where home-bin were defined in the modules file to be:

        home-bin home-cvs/home &bin

(Or something like that. I'm guessing on the syntax based on my poor
memory of the articel)

Is there some way to do that with svn? Check out only portions or
certain subdirs of a repository ?

>It's not very much like CVS modules. I would stay away from CVS
>modules docs if you're trying to understand svn:externals. :-)

Okay, I figured as much :)

>You use 'svn propset' or better yet 'svn propedit'.

Okay, 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 Tue Oct 22 19:44:39 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.