Mona Wong-Barnum <[EMAIL PROTECTED]> writes:
> I would like to know if there is a way to checkout a previous
> version of a file specifying *only* the version information.
Yes. Just use the version number in place of the tag. For example:
% cvs -d :pserver:[EMAIL PROTECTED]:/cvs login
(Logging in to [EMAIL PROTECTED])
CVS password: <press the enter key>
% cvs -d :pserver:[EMAIL PROTECTED]:/cvs checkout -r1.129 \
ccvs/doc/cvsclient.texi
U ccvs/doc/cvsclient.texi
% cd ccvs/doc
% cvs status cvsclient.texi
===================================================================
File: cvsclient.texi Status: Up-to-date
Working revision: 1.129
Repository revision: 1.129 /cvs/ccvs/doc/cvsclient.texi,v
Sticky Tag: 1.129
Sticky Date: (none)
Sticky Options: (none)
%
Then, to get rid of the sticky tag, you would use the -A switch like:
% cvs up -A cvsclient.texi
P cvsclient.texi
% cvs status cvsclient.texi
===================================================================
File: cvsclient.texi Status: Up-to-date
Working revision: 1.130
Repository revision: 1.130 /cvs/ccvs/doc/cvsclient.texi,v
Sticky Tag: (none)
Sticky Date: (none)
Sticky Options: (none)
%
Note that you may also just "print" the version to a file with
% cvs up -p -r1.129 cvsclient.texi > cvsclient.texi.1.129
if you found it useful to have an older version around for some reason.
Enjoy!
-- Mark
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs