comparison mercurial/i18n.py @ 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 3c0983cc279e
children 2c07c6884394
comparison
equal deleted inserted replaced
24711:ab6e3729747e 24712:bbf1ae6b6a44