hgext/largefiles/overrides.py
changeset 48118 5105a9975407
parent 48116 5ced12cfa41b
child 48168 df3021c1f093
equal deleted inserted replaced
48117:b74e128676d4 48118:5105a9975407
  1665 
  1665 
  1666 
  1666 
  1667 @eh.wrapcommand(b'cat')
  1667 @eh.wrapcommand(b'cat')
  1668 def overridecat(orig, ui, repo, file1, *pats, **opts):
  1668 def overridecat(orig, ui, repo, file1, *pats, **opts):
  1669     opts = pycompat.byteskwargs(opts)
  1669     opts = pycompat.byteskwargs(opts)
  1670     ctx = scmutil.revsingle(repo, opts.get(b'rev'))
  1670     ctx = logcmdutil.revsingle(repo, opts.get(b'rev'))
  1671     err = 1
  1671     err = 1
  1672     notbad = set()
  1672     notbad = set()
  1673     m = scmutil.match(ctx, (file1,) + pats, opts)
  1673     m = scmutil.match(ctx, (file1,) + pats, opts)
  1674     origmatchfn = m.matchfn
  1674     origmatchfn = m.matchfn
  1675 
  1675