Mercurial > hg
comparison doc/Makefile @ 24712:bbf1ae6b6a44
hgweb: expose raw line numbers to templates
Surpringly, the templates didn't receive an unmodified version of the
line numbers. Expose it to make implementing the JSON templates easier.
In theory, we could post-process an existing template variable. But
extra string manipulation seems quite wasteful, especially on items that
could occur hundreds or even thousands of times in output.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 10 Apr 2015 22:34:12 -0400 |
parents | 80983af366b5 |
children | b584ed1b225d |
comparison
equal
deleted
inserted
replaced
24711:ab6e3729747e | 24712:bbf1ae6b6a44 |
---|