mercurial/commands.py
changeset 48032 12966768595a
parent 48030 7d908ee19b5b
child 48115 b067d22dc6ad
equal deleted inserted replaced
48031:5b89626c11e9 48032:12966768595a
   524         for fn, sep, get, fmt in opmap
   524         for fn, sep, get, fmt in opmap
   525         if opts.get(opnamemap.get(fn, fn)) or fn in datahint
   525         if opts.get(opnamemap.get(fn, fn)) or fn in datahint
   526     )
   526     )
   527 
   527 
   528     def bad(x, y):
   528     def bad(x, y):
   529         raise error.Abort(b"%s: %s" % (x, y))
   529         raise error.InputError(b"%s: %s" % (x, y))
   530 
   530 
   531     m = scmutil.match(ctx, pats, opts, badfn=bad)
   531     m = scmutil.match(ctx, pats, opts, badfn=bad)
   532 
   532 
   533     follow = not opts.get(b'no_follow')
   533     follow = not opts.get(b'no_follow')
   534     diffopts = patch.difffeatureopts(
   534     diffopts = patch.difffeatureopts(