[PATCH 04 of 20] hgweb: remove unused argument of changelist function in search

Alexander Plavin alexander at plav.in
Fri Aug 9 13:57:29 CDT 2013


# HG changeset patch
# User Alexander Plavin <alexander at plav.in>
# Date 1376045656 -14400
#      Fri Aug 09 14:54:16 2013 +0400
# Node ID bd303eb5286b4a5666ee96d4b019dea7d58bac56
# Parent  b1dddc5714f61caf7eb68ca300e62ad3715c4271
hgweb: remove unused argument of changelist function in search

diff -r b1dddc5714f6 -r bd303eb5286b mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py	Fri Aug 09 14:54:04 2013 +0400
+++ b/mercurial/hgweb/webcommands.py	Fri Aug 09 14:54:16 2013 +0400
@@ -154,7 +154,7 @@
         'revset': (revsetsearch, 'revset expression'),
     }
 
-    def changelist(**map):
+    def changelist():
         count = 0
 
         for ctx in searchfunc[0]():


More information about the Mercurial-devel mailing list