Discussion:
CVS History
Michael Moss
2009-11-12 18:28:42 UTC
Permalink
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!
Todd Denniston
2009-11-16 15:14:54 UTC
Permalink
Post by Michael Moss
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.
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
Loading...