diff mercurial/hgweb/hgweb_mod.py @ 3171:0d0d7317bbc8

hgweb: yield filenode as well as node in annotate, use filenode in annotateline
author Brendan Cully <brendan@kublai.com>
date Wed, 27 Sep 2006 12:08:32 -0700
parents 8683c7a637ad
children 76ab39df0917
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py
+++ b/mercurial/hgweb/hgweb_mod.py
@@ -407,7 +407,8 @@ class hgweb(object):
                     last = fnode
 
                 yield {"parity": parity,
-                       "node": hex(fnode),
+                       "node": hex(f.node()),
+                       "filenode": hex(fnode),
                        "rev": f.rev(),
                        "author": name,
                        "file": f.path(),