hgweb: remove unused argument of changelist function in changelog
This doesn't change the behavior as the argument isn't used anyway, and
it's a preparation to the next patches,
--- 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)