Assuming that your file is in a module called "usr", then you could do this:

cvs checkout -p usr/local/bin/test.pl > /usr/dev/rubbish/test.pl

However, you'll only get the file; you won't get a CVS directory with the
repository metadata.  (But if you're cutting an extract or distribution,
that's probably fine.)

-----Original Message-----
From: Alistair Young [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 12:13 PM
To: [EMAIL PROTECTED]
Subject: CVS get without recursion


Hi all,
Hope you can help! I'm trying to "get" files from a CVS server that we've
set 
up:
1) Files are in the CVS server with a path such as "/usr/local/bin/test.pl"
2) I want to get the file "test.pl" to a completely different directory
For example, I want to get this file to /usr/dev/rubbish. When I do this, 
however, it gets put in as /usr/dev/rubbish/usr/local/bin/test.pl
It's like extracting files with full path from a ZIP file.
Is there any way to turn this directory recursion off? - so I can get the
file 
as /usr/dev/rubbish/test.pl?


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

Reply via email to