info-cvs
[Top][All Lists]
Advanced

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

Re: cvs log: incorrect usage?


From: Larry Jones
Subject: Re: cvs log: incorrect usage?
Date: Fri, 11 Feb 2005 16:30:11 -0500 (EST)

coach24 writes:
> 
> If my repository is /usr/local/cvs, am I not supposed to be able to do
> this:
> 
> cvs log /usr/local/cvs/project/file.py,v

No, log is for use in a working directory; you want rlog.  Most CVS
commands come in pairs -- foo and rfoo.  foo is for use in a working
directory, rfoo is for direct access to the repository.  And you don't
specify the entire path to the repository file, you just specify the
path relative to your $CVSROOT.  You also specify the working file name,
not the RCS file name.  So, assuming your $CVSROOT is correctly set to
/usr/local/cvs, the command you want is:

        cvs rlog project/file.py

-Larry Jones

That's one of the remarkable things about life.  It's never so
bad that it can't get worse. -- Calvin




reply via email to

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