diff mercurial/hgweb/hgweb_mod.py @ 3401:a004164dbeef

Make annotate use linkrev instead of rev
author Brendan Cully <brendan@kublai.com>
date Sun, 15 Oct 2006 17:38:07 -0700
parents 3c8f0dc9a6d3
children 372999405787
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py
+++ b/mercurial/hgweb/hgweb_mod.py
@@ -385,7 +385,7 @@ class hgweb(object):
 
                 yield {"parity": parity,
                        "node": hex(f.node()),
-                       "rev": f.rev(),
+                       "rev": f.linkrev(),
                        "author": name,
                        "file": f.path(),
                        "line": l}