Comments
Patch
@@ -1169,17 +1169,21 @@ def overridecat(orig, ui, repo, file1, *
notbad = set()
m = scmutil.match(ctx, (file1,) + pats, opts)
origmatchfn = m.matchfn
+
def lfmatchfn(f):
lf = lfutil.splitstandin(f)
if lf is None:
return origmatchfn(f)
notbad.add(lf)
return origmatchfn(lf)
+
m.matchfn = lfmatchfn
origbadfn = m.bad
+
def lfbadfn(f, msg):
if not f in notbad:
- return origbadfn(f, msg)
+ origbadfn(f, msg)
+
m.bad = lfbadfn
for f in ctx.walk(m):
fp = cmdutil.makefileobj(repo, opts.get('output'), ctx.node(),