--- a/mercurial/hgweb/webcommands.py Sun Nov 08 23:42:44 2015 -0800
+++ b/mercurial/hgweb/webcommands.py Tue Nov 10 23:02:59 2015 +0800
@@ -264,8 +264,8 @@
yield tmpl('searchentry',
parity=parity.next(),
author=ctx.user(),
- parent=webutil.parents(ctx),
- child=webutil.children(ctx),
+ parent=lambda **x: webutil.parents(ctx),
+ child=lambda **x: webutil.children(ctx),
changelogtag=showtags,
desc=ctx.description(),
extra=ctx.extra(),
@@ -1000,8 +1000,8 @@
"author": iterfctx.user(),
"date": iterfctx.date(),
"rename": webutil.renamelink(iterfctx),
- "parent": webutil.parents(iterfctx),
- "child": webutil.children(iterfctx),
+ "parent": lambda **x: webutil.parents(iterfctx),
+ "child": lambda **x: webutil.children(iterfctx),
"desc": iterfctx.description(),
"extra": iterfctx.extra(),
"tags": webutil.nodetagsdict(repo, iterfctx.node()),