changeset 19735:6907251122e3

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,
author Alexander Plavin <alexander@plav.in>
date Fri, 06 Sep 2013 13:30:57 +0400
parents e61c6138fa33
children f08e542ce918
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)