mercurial/commands.py
changeset 35548 b14c8bcfbad9
parent 35545 349bcd7fa670
child 35575 dda3cae3c9c5
equal deleted inserted replaced
35547:b6dbc860570d 35548:b14c8bcfbad9
  3408     if opts.get('follow') and opts.get('rev'):
  3408     if opts.get('follow') and opts.get('rev'):
  3409         opts['rev'] = [revsetlang.formatspec('reverse(::%lr)', opts.get('rev'))]
  3409         opts['rev'] = [revsetlang.formatspec('reverse(::%lr)', opts.get('rev'))]
  3410         del opts['follow']
  3410         del opts['follow']
  3411 
  3411 
  3412     repo = scmutil.unhidehashlikerevs(repo, opts.get('rev'), 'nowarn')
  3412     repo = scmutil.unhidehashlikerevs(repo, opts.get('rev'), 'nowarn')
  3413     revs, expr, filematcher = cmdutil.getlogrevs(repo, pats, opts)
  3413     revs, filematcher = cmdutil.getlogrevs(repo, pats, opts)
  3414     hunksfilter = None
  3414     hunksfilter = None
  3415 
  3415 
  3416     if opts.get('graph'):
  3416     if opts.get('graph'):
  3417         if linerange:
  3417         if linerange:
  3418             raise error.Abort(_('graph not supported with line range patterns'))
  3418             raise error.Abort(_('graph not supported with line range patterns'))