help-rcs
[Top][All Lists]
Advanced

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

Re: request for enhancement: annotate


From: Aaron S. Hawley
Subject: Re: request for enhancement: annotate
Date: Fri, 27 Feb 2004 13:01:01 -0500 (EST)

i can't find the place where i had read that `cvs annotate` is quite
difficult and slow (i believe it required checking each version out
separately then going through from start to finish to determnie the
history of a line in the file), but of course could be implemented in RCS
since, CVS uses the RCS version file format (uses reverse deltas).
revision annotation is much easier to do in SCCS where deltas are not
reverse.

here's some other notes.

blame.py - Annotate in Python
http://cvs.sourceforge.net/viewcvs.py/viewcvs/viewcvs/lib/blame.py

which uses vclib.ccvs.rcsparse:
http://cvs.sourceforge.net/viewcvs.py/viewcvs/viewcvs/lib/vclib/ccvs/rcsparse/

viewcvs also has tparse a C++ RCS parser with Python bindings:
http://cvs.sourceforge.net/viewcvs.py/viewcvs/viewcvs/tparse/

/a


On Tue, 27 Jan 2004, Kevin Rodgers wrote:

> Would it be feasible to implement an RCS version of the CVS annotate
> command?  If the same output could be generated, then the Emacs
> vc-annotate command could use the same backend for RCS as for CVS.
>
> Here are the descriptions of the CVS annotate command and the Emacs
> vc-annotate command from their Info manuals:
>
> ...




reply via email to

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