diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -2212,7 +2212,7 @@ def displaygraph(ui, repo, dag, displaye 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) diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -3398,7 +3398,7 @@ def log(ui, repo, *pats, **opts): 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)