[darcs-users] darcs annotate format obscures the code

Michael G Schwern schwern at pobox.com
Sun Mar 20 10:29:35 UTC 2005

On Sun, Mar 20, 2005 at 10:16:54AM +0000, Ralph Corderoy wrote:
> > Which brings up an additional problem.  When I'm looking at a blame
> > log I usually want to answer the question "why is line 452 in file
> > Foo.pm there?" With the CVS/SVN/SVK annotation format line 452 is line
> > 452 (well, 454 for SVK, they screw that up a bit).  With darcs... who
> > knows?  The annotations add vertical space and thus throw off the line
> > numbers entirely.  Now instead of a simple "jump to line 452" in my
> > pager I must grep the code (and the log messages) to find my line.
> In less do `g452/^ ', no?

Just '452g'

> I agree with the general problem.  I think the code up front with a
> `change number', i.e. 1..n, followed by an `end of code' marker and the
> blame details, in change number order.  Both have to be output at the
> same time to avoid the repo changing inbetween generating the two.  I
> suppose the command could send the code to stdout and store the blame
> detail in a separate given file.

I don't understand what you mean here.  Could you clarify?

More information about the darcs-users mailing list