info-cvs
[Top][All Lists]
Advanced

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

Re: Checking out Previous Revision of File Error


From: Todd Denniston
Subject: Re: Checking out Previous Revision of File Error
Date: Wed, 09 May 2007 07:56:45 -0500
User-agent: Thunderbird 1.5.0.10 (X11/20070221)

Huber, Robert wrote:
I need to get an older revision of a particular shell script and issue
the command "cvs checkout -d ./tmp -r 1.1 xxx.sh" and get the message
"cvs checkout: cannot find module `xxx.sh' - ignored".

Since I'm working on revision 1.3 I'm reasonably certain that revision
1.1 exists. What am I doing wrong.

Thanks.

====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.

Because the email arrived was sent to a list that redistributes to many folks, and it seems to be related to the mailing list, I will attempt to answer instead of deleting, i.e., please disclaim the lame legal disclaimer when sending to mailing lists, if you can't sell the legal department a clue.

The answer as best I can guess from the info you give is that you need to specify the full path to the file [relative to the repository root], i.e., if the file is in
$CVSROOT/dir1/dir2/xxx.sh
you would need to:
cvs checkout -d ./tmp -r1.1 dir1/dir2/xxx.sh

Note: according to the manual it should not matter, but over time I have found that I get more consistent results when specifying a revision to CVS/RCS if I DO NOT put a space between the -r and the revision/tag, don't know why and not sure if it is consistent [it may be more of an RCS thing, but I KNOW CVS works correctly when I put them together].

also to be sure 1.1 exists issue
cvs rlog dir1/dir2/xxx.sh |less

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

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