[darcs-devel] darcs.cgi and annotate on renamed files

David Roundy droundy at abridgegame.org
Wed Oct 20 05:12:25 PDT 2004


On Wed, Oct 20, 2004 at 12:26:14AM -0700, Will wrote:
> David Roundy <droundy at abridgegame.org> writes:
> > Could you modify darcs.cgi so that the annotate links use the original
> > name and creator hash?
> 
> I have started work on this and annotations can now span multiple file
> renames without a problem.  The XML output of `changes` will also need
> to include the <created_as/> nodes so that the proper annotate links
> can be generated on the patch list page.

Thanks!

Hmmmm.  There is an annoying catch, which is that this would make `changes`
as expensive as annotate (which means reading all the patches in the
repository!).  :(  On the other hand, if you call changes --summary on the
entire repository, then that is done anyways...

It's definitely a job for another morning, though.
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-devel mailing list