mercurial/hgweb.py
changeset 155 083c38bdfa64
parent 142 529bf610092e
parent 153 e8a360cd5a9f
child 156 32ce2c5d4d25
--- a/mercurial/hgweb.py
+++ b/mercurial/hgweb.py
@@ -516,8 +516,8 @@ class hgweb:
 
         if not args.has_key('cmd') or args['cmd'][0] == 'changelog':
             hi = self.repo.changelog.count()
-            if args.has_key('pos'):
-                hi = int(args['pos'][0])
+            if args.has_key('rev'):
+                hi = int(args['rev'][0])
 
             write(self.changelog(hi))