Re: Partial checkout of an ampersand module

2002-02-06 Thread Larry Jones

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



RE: Partial checkout of an ampersand module

2002-02-06 Thread Walsh, Matthew

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:

modulereposdirectory 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
ampermodmoduleA 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_onepath/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



Re: Partial checkout of an ampersand module

2002-02-05 Thread Pierre Asselin

Bill Biessman [EMAIL PROTECTED] writes:

QUESTION:
Is there a way to check out just one file from the tree below an ampersand
module specifying the complete path?

MORE DETAIL:

I have a line in my modules file that looks like:
whole_thingpart_one part_two

First of all, you can already check out part_one by itself:
cvs checkout part_one

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_onepath/to/part_one

You can then do
cvs checkout path/to/part_one/subdir/myfile

and you will get myfile, 4 directories deep.

...
look at the file for a while with a script, and then:
cvs update -C -P -d whole_thing
to get the rest of the files in the project.

Won't work.  Commit myfile from your deep sandbox and wipe out the
sandbox.  Then do a full checkout of whole_thing.  But if you're going
to check out whole_thing eventually, why not do it up front and keep
it checked out?

--
Pierre Asselin
Westminster, Colorado


-= Posted via Newsfeeds.Com, Uncensored Usenet News =-
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-==  Over 80,000 Newsgroups - 16 Different Servers! =-
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs