diff -r 1abf089a1d70 -r db26e6a0a677 mercurial/commands.py --- a/mercurial/commands.py Sun Jan 21 16:03:14 2018 +0900 +++ b/mercurial/commands.py Sun Jan 21 16:04:59 2018 +0900 @@ -3420,11 +3420,6 @@ repo = scmutil.unhidehashlikerevs(repo, opts.get('rev'), 'nowarn') revs, differ = logcmdutil.getrevs(repo, pats, opts) - - if opts.get('graph'): - if linerange: - raise error.Abort(_('graph not supported with line range patterns')) - if linerange: revs, differ = logcmdutil.getlinerangerevs(repo, revs, opts)