info-cvs
[Top][All Lists]
Advanced

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

RE: silly question for modules file


From: Zanabria, Moises
Subject: RE: silly question for modules file
Date: Fri, 15 Nov 2002 10:45:15 -0600

Thanks for the quick answer  Mark, but looks like this command just work
fine with a directory: 
If I use:
cvs checkout -p C/src 2>&1 1>/dev/null | grep '^Checking.*cpp' | awk '{print
$3}' |xargs cvs co
Everything looks fine.

but If I use my cvs module:
c_src -d C/src/myuser/ C/src

I got, 
cvs server: cannot find module `C/src/myuser/mqireport.c' - ignored
cvs server: cannot find module `C/src/myuser/mqirout0.c' - ignored
cvs server: cannot find module `C/src/myuser/mqirout0.def' - ignored
cvs server: cannot find module `C/src/myuser/qirout0.exp' - ignored
cvs [checkout aborted]: cannot expand modules
:(

Moises.


-----Original Message-----
From: Zieg, Mark [mailto:address@hidden
Sent: Friday, November 15, 2002 9:54 AM
To: 'Zanabria, Moises'; 'address@hidden'
Subject: RE: silly question for modules file


> I can't seem to be able to check out using a wild card.
> I want to check out *.cpp from C/src and place it in
>     C/src/myuser/
> The C/src has many other files but I only want *.cpp files.
> Can't seem to be able to do this.

Perhaps inelegant, but this seems to work for me:

$ cvs checkout -p MY_MODULE 2>&1 1>/dev/null \
  | grep '^Checking.*cpp' \
  | awk '{print $3}' \
  | xargs cvs checkout




reply via email to

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