diff -r ab6e3729747e -r bbf1ae6b6a44 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Sat Apr 11 11:54:09 2015 -0400 +++ b/mercurial/hgweb/webcommands.py Fri Apr 10 22:34:12 2015 -0400 @@ -927,6 +927,7 @@ "file": f.path(), "targetline": targetline, "line": l, + "lineno": lineno + 1, "lineid": "l%d" % (lineno + 1), "linenumber": "% 6d" % (lineno + 1), "revdate": f.date()}