[PATCH] Add line anchors to annotate, changeset, diff, file views for hgweb
Thomas Arendsen Hein
thomas at intevation.de
Fri Feb 15 14:36:35 CST 2008
* Edward Lee <edilee at mozilla.com> [20070905 08:01]:
> This patch makes the line numbers into anchor tags with an id to link
> to itself. The default and gitweb templates are updated to have
> clickable line numbers for annotate, changeset, diff, and file views.
>
> hgweb's ability to show the whole repository for any given changeset
> is really useful, but it would be nice if we could refer to a
> particular line of a file or changeset (such as for a bug report or
> discussing a patch). This patch adds a couple new template-vars such
> as lineid and linenumber.
Pushed to crew.
Thanks,
Thomas
--
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
More information about the Mercurial-devel
mailing list