mercurial/hgweb/webutil.py
changeset 7361 9fe97eea5510
parent 7345 55651328dfcc
child 7637 1d54e2f6c0b7
--- a/mercurial/hgweb/webutil.py	Thu Nov 13 10:11:32 2008 +0100
+++ b/mercurial/hgweb/webutil.py	Wed Nov 12 15:19:14 2008 -0600
@@ -126,7 +126,7 @@
         ctx = repo[changeid]
     except RepoError:
         man = repo.manifest
-        ctx = repo[man.linkrev(man.lookup(changeid))]
+        ctx = repo[man.linkrev(man.rev(man.lookup(changeid)))]
 
     return ctx