info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Partial checkout of an ampersand module


From: Walsh, Matthew
Subject: RE: Partial checkout of an ampersand module
Date: Wed, 6 Feb 2002 15:42:33 -0700

If you want the same file all the time, you could also try this:

modules:
part_one_file  -d part_one path/to/part_one file

cvs co part_one_file

and you should get
U part_one/file


Haven't tried it with the -d, but I have done the selected file checkout
by specifying:

module    reposdirectory file ...

in the modules file.

It doesn't work with ampersand modules though. For example:

moduleA path/to/whateverA fileA
moduleB path/to/whateverB fileB
ampermod        &moduleA &moduleB

If you checkout moduleA you'll get fileA only. If you checkout moduleB
you'll
get fileB only, but if you check out ampermod, you'll get all of the
contents of whateverA and whateverB. Just ignores the file specifics for
some reason.

Matt

> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: Wednesday, February 06, 2002 3:15 PM
> To: address@hidden
> Cc: address@hidden
> Subject: Re: Partial checkout of an ampersand module
> 
> 
> Pierre Asselin writes:
> > 
> > If you really want a single file from part_one, figure out what
> > part_one is.  There should be a line in the modules file that says
> > something like
> > 
> >     part_one        path/to/part_one
> > 
> > You can then do
> >     cvs checkout path/to/part_one/subdir/myfile
> > 
> > and you will get myfile, 4 directories deep.
> 
> You should also be able to do:
> 
>       cvs co part_one/subdir/myfile
> 
> in that case.  I haven't done any research on the original 
> problem, but
> I'm almost certain that it only applies to ampersand modules, not
> regular (and probably not alias) modules.
> 
> -Larry Jones
> 
> Everything's gotta have rules, rules, rules! -- Calvin
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]