mercurial/hgweb/webcommands.py
changeset 19735 6907251122e3
parent 19722 bf15935b68a3
child 19737 ab5442f45441
--- a/mercurial/hgweb/webcommands.py	Tue Sep 17 23:34:57 2013 -0500
+++ b/mercurial/hgweb/webcommands.py	Fri Sep 06 13:30:57 2013 +0400
@@ -259,7 +259,7 @@
     else:
         ctx = web.repo['tip']
 
-    def changelist(latestonly, **map):
+    def changelist(latestonly):
         revs = []
         if pos != -1:
             revs = web.repo.changelog.revs(pos, 0)
@@ -311,8 +311,8 @@
 
     return tmpl(shortlog and 'shortlog' or 'changelog', changenav=changenav,
                 node=ctx.hex(), rev=pos, changesets=count,
-                entries=lambda **x: changelist(latestonly=False, **x),
-                latestentry=lambda **x: changelist(latestonly=True, **x),
+                entries=lambda **x: changelist(latestonly=False),
+                latestentry=lambda **x: changelist(latestonly=True),
                 archives=web.archivelist("tip"), revcount=revcount,
                 morevars=morevars, lessvars=lessvars, query=query)