[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: Julian Fitzell <julian_at_beta4.com>
Date: 2002-10-22 20:45:40 CEST

Paul Lussier wrote:
> 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 ?

[...]

Sure:

svn co /path/to/repos/pll/bin

:)

Julian

-- 
julian@beta4.com
Beta4 Productions (http://www.beta4.com)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 22 20:45:34 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.