[darcs-users] darcs annotate format obscures the code

Ralph Corderoy ralph at inputplus.co.uk
Sun Mar 20 12:11:49 UTC 2005


Hi Michael,

> 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'

No, that goes to physical line 452 which you've pointed out doesn't
work.  But you've also said that all and only source lines start with a
space so my suggestion goes to the 452nd line starting with a space.

Cheers,


Ralph.





More information about the darcs-users mailing list