[PATCH 01 of 20] hgweb: remove unused argument of changelist function in changelog
Alexander Plavin
alexander at plav.in
Fri Aug 9 18:57:26 UTC 2013
# HG changeset patch
# User Alexander Plavin <alexander at plav.in>
# Date 1376018164 -14400
# Fri Aug 09 07:16:04 2013 +0400
# Node ID f2329fe540ffd386eb59ec606515740802a331a5
# Parent 3254454cbd64ce8f4d748b9430838c4ed4ee3505
hgweb: remove unused argument of changelist function in changelog
diff -r 3254454cbd64 -r f2329fe540ff mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py Wed Jul 24 20:13:52 2013 +0400
+++ b/mercurial/hgweb/webcommands.py Fri Aug 09 07:16:04 2013 +0400
@@ -260,7 +260,7 @@
else:
ctx = web.repo['tip']
- def changelist(latestonly, **map):
+ def changelist(latestonly):
revs = []
if pos != -1:
revs = web.repo.changelog.revs(pos, 0)
@@ -312,8 +312,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)
More information about the Mercurial-devel
mailing list