diff mercurial/commands.py @ 36197:db26e6a0a677

graphlog: unblock --line-range option It should work now.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 21 Jan 2018 16:04:59 +0900
parents 1abf089a1d70
children 7bc10d3f68b4
line wrap: on
line diff
--- 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)