fix bug introduced by 2540521dc7c1 (thanks pychecker)
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 30 Mar 2008 22:29:02 +0200
changeset 6413 407dcc0c1429
parent 6412 9d2983c6a965
child 6415 69d1946a1d02
fix bug introduced by 2540521dc7c1 (thanks pychecker)
mercurial/hgweb/webutil.py
--- a/mercurial/hgweb/webutil.py	Sun Mar 30 22:23:55 2008 +0200
+++ b/mercurial/hgweb/webutil.py	Sun Mar 30 22:29:02 2008 +0200
@@ -117,7 +117,7 @@
     elif 'manifest' in req.form:
         changeid = req.form['manifest'][0]
     else:
-        changeid = self.repo.changelog.count() - 1
+        changeid = repo.changelog.count() - 1
 
     try:
         ctx = repo.changectx(changeid)