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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 06, 2002 3:15 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to