info-cvs
[Top][All Lists]
Advanced

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

Re: CVS History


From: Todd Denniston
Subject: Re: CVS History
Date: Mon, 16 Nov 2009 10:14:54 -0500
User-agent: Thunderbird 2.0.0.22 (X11/20090625)

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




reply via email to

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