The command cvs export requires either a tag or a date, as it is designed to
produce a reproducible output, such as you might ship to a customer. You can
get the result you want by using cvs checkout instead. Another option is to use
the -p option of checkout to send the file to stdout:
% cvs export -r 1.5 -p module/path/file > targetdir/file
You may also wish to checkout http://www.loria.fr/~molli/cvs-index.html and
download the CVS reference manual (Cederqvist et al).
Good luck!
Alan Thompson
Richard Wesley <[EMAIL PROTECTED]> on 03/16/2000 04:44:48 PM
To: [EMAIL PROTECTED]
cc: (bcc: Alan Thompson/Orincon)
Subject: File extraction
Hey all,
I would like to be able to extract a particular version of a file
from cvs into a directory. I tried
cvs export -d targetDir -r1.5 module/path/file
but cvs complains that I need to specify a symbolic tag. If I
replace -r1.5 with -Dtoday, it works, but this probably gets the
version from the main branch, which may not be what I want.
1) Why does cvs prevent me from using actual version numbers?
2) Is there some other way to perform this operation?
TIA,
- rmgw
http://www.electricfish.com/hawkfish/
----------------------------------------------------------------------------
Richard Wesley Electric Fish, Inc. [EMAIL PROTECTED]
"They have forgotten the simplest of pleasures - that of the child and
the unopened box." - Dukhat in "Babylon 5: Atonement"