equal
deleted
inserted
replaced
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 |