comparison mercurial/hgweb/webcommands.py @ 36275:0cacd4df6eb0

webcommands: use pycompat.strkwargs as needed Differential Revision: https://phab.mercurial-scm.org/D2305
author Augie Fackler <augie@google.com>
date Sat, 17 Feb 2018 22:38:53 -0500
parents a748a5d1d7c3
children caa3d42f616d
comparison
equal deleted inserted replaced
36274:a748a5d1d7c3 36275:0cacd4df6eb0
559 up=webutil.up(abspath), 559 up=webutil.up(abspath),
560 upparity=next(parity), 560 upparity=next(parity),
561 fentries=filelist, 561 fentries=filelist,
562 dentries=dirlist, 562 dentries=dirlist,
563 archives=web.archivelist(hex(node)), 563 archives=web.archivelist(hex(node)),
564 **webutil.commonentry(web.repo, ctx)) 564 **pycompat.strkwargs(webutil.commonentry(web.repo, ctx)))
565 565
566 @webcommand('tags') 566 @webcommand('tags')
567 def tags(web, req, tmpl): 567 def tags(web, req, tmpl):
568 """ 568 """
569 /tags 569 /tags