mercurial/hgweb/hgweb_mod.py
changeset 3170 8683c7a637ad
parent 3168 fc379b91f602
child 3171 0d0d7317bbc8
--- a/mercurial/hgweb/hgweb_mod.py
+++ b/mercurial/hgweb/hgweb_mod.py
@@ -419,7 +419,7 @@ class hgweb(object):
                      annotate=annotate,
                      path=_up(f),
                      rev=fctx.rev(),
-                     node=hex(n),
+                     node=hex(fctx.node()),
                      manifest=hex(fctx.changectx().changeset()[0]),
                      author=fctx.user(),
                      date=fctx.date(),