diff mercurial/commands.py @ 31486: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 3fb2081ef896
children a992caaf0e22
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Mar 17 23:48:22 2017 +0900
+++ b/mercurial/commands.py	Tue Mar 14 18:16:13 2017 +0900
@@ -3398,7 +3398,7 @@
         del opts['follow']
 
     if opts.get('graph'):
-        return cmdutil.graphlog(ui, repo, *pats, **opts)
+        return cmdutil.graphlog(ui, repo, pats, opts)
 
     revs, expr, filematcher = cmdutil.getlogrevs(repo, pats, opts)
     limit = cmdutil.loglimit(opts)