comparison 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
comparison
equal deleted inserted replaced
36196:1abf089a1d70 36197:db26e6a0a677
3418 _('FILE arguments are not compatible with --line-range option') 3418 _('FILE arguments are not compatible with --line-range option')
3419 ) 3419 )
3420 3420
3421 repo = scmutil.unhidehashlikerevs(repo, opts.get('rev'), 'nowarn') 3421 repo = scmutil.unhidehashlikerevs(repo, opts.get('rev'), 'nowarn')
3422 revs, differ = logcmdutil.getrevs(repo, pats, opts) 3422 revs, differ = logcmdutil.getrevs(repo, pats, opts)
3423
3424 if opts.get('graph'):
3425 if linerange:
3426 raise error.Abort(_('graph not supported with line range patterns'))
3427
3428 if linerange: 3423 if linerange:
3429 revs, differ = logcmdutil.getlinerangerevs(repo, revs, opts) 3424 revs, differ = logcmdutil.getlinerangerevs(repo, revs, opts)
3430 3425
3431 getrenamed = None 3426 getrenamed = None
3432 if opts.get('copies'): 3427 if opts.get('copies'):