hgweb: fix changeset link in annotate view.
authorBrendan Cully <brendan@kublai.com>
Wed, 27 Sep 2006 12:08:30 -0700
changeset 3170 8683c7a637ad
parent 3169 7492b33bdd9f
child 3171 0d0d7317bbc8
hgweb: fix changeset link in annotate view.
mercurial/hgweb/hgweb_mod.py
--- 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(),