--- a/src/hgwebplus.py Mon May 04 23:40:07 2020 -0500
+++ b/src/hgwebplus.py Mon May 04 23:41:08 2020 -0500
@@ -110,40 +110,31 @@
for lineno, l in enumerate(lines, 1):
match = RE_DIFF.match(l.decode('ascii'))
elif l.startswith(b'---'):
elif l.startswith(b'+++'):
# only increment if we've already seen a minus line
# only increment if we've already seen a plus line
# only increment if we've already seen a plus/minus line
@@ -162,8 +153,8 @@
- b'linea': showa and linea or b'',
- b'lineb': showb and lineb or b'',
b'lineid': lineidprefix + b"l%s" % difflineno,
b'linenumber': b"% 8s" % difflineno,