diff mercurial/cmdutil.py @ 31493:06d3c40fc3e7

graphlog: pass function arguments without expansion It's annoying on Python 3 because keys must be unicode type. Let's stop using **opts expansion when not necessary.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 14 Mar 2017 18:16:13 +0900
parents 707f9fd2dcad
children 9b3577796291
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Fri Mar 17 23:48:22 2017 +0900
+++ b/mercurial/cmdutil.py	Tue Mar 14 18:16:13 2017 +0900
@@ -2212,7 +2212,7 @@
             graphmod.ascii(ui, state, type, char, lines, coldata)
     displayer.close()
 
-def graphlog(ui, repo, *pats, **opts):
+def graphlog(ui, repo, pats, opts):
     # Parameters are identical to log command ones
     revs, expr, filematcher = getgraphlogrevs(repo, pats, opts)
     revdag = graphmod.dagwalker(repo, revs)