diff mercurial/hgweb.py @ 155:083c38bdfa64

Merge from hgweb
author mpm@selenic.com
date Wed, 25 May 2005 08:54:54 -0800
parents 529bf610092e e8a360cd5a9f
children 32ce2c5d4d25
line wrap: on
line diff
--- 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))