changeset 6413:407dcc0c1429

fix bug introduced by 2540521dc7c1 (thanks pychecker)
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 30 Mar 2008 22:29:02 +0200
parents 9d2983c6a965
children 69d1946a1d02
files mercurial/hgweb/webutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)