Re: CVS History

Todd Denniston <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Michael Moss wrote, On 11/12/2009 01:28 PM:
> Hi
> 
> An really embarrassing question: I have specified my CVS root, and 
> within this CVS root I have a repository, let call it REP. Within REP, I 
> have a file TEST.TXT where I wanna see all revisions of it. 
> Unfortunately, I cant get this work, i tried the following:
> 
> cvs history TEST.TXT
> cvs history /REP/TEST.TXT
> cvs history REP/TEST.TXT
> 
> Anyone an idea what I am doing wrong? Do i miss a command that tells CVS 
> which repository I am referring to?
> 
> Many thanks!
> 

only r* commands can be ran directly against the repository.
cvs --help-commands 2>&1 |grep "        r"|grep -v re

cvs -d CVS_repository rlog REP/TEST.TXT

or in a checked out copy

cd REP
cvs history TEST.TXT
cvs log TEST.TXT

BTW I assume that because you did not indicate you are working in some other environment, that you 
are working in a Unix or Unix like environment.
suggestions:
include $CVS_ROOT
include cvs --version


-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.