Comments
Patch
@@ -34,6 +34,7 @@ def installnormalfilesmatchfn(manifest):
manifest)
m._files = filter(notlfile, m._files)
m._fmap = set(m._files)
+ m._always = False
origmatchfn = m.matchfn
m.matchfn = lambda f: notlfile(f) and origmatchfn(f) or None
return m
@@ -251,6 +252,7 @@ def overridelog(orig, ui, repo, *pats, *
standins = [lfutil.standin(f) for f in m._files]
m._files.extend(standins)
m._fmap = set(m._files)
+ m._always = False
origmatchfn = m.matchfn
def lfmatchfn(f):
lf = lfutil.splitstandin(f)
@@ -519,6 +521,7 @@ def overridecopy(orig, ui, repo, pats, o
lfile = lambda f: lfutil.standin(f) in manifest
m._files = [lfutil.standin(f) for f in m._files if lfile(f)]
m._fmap = set(m._files)
+ m._always = False
origmatchfn = m.matchfn
m.matchfn = lambda f: (lfutil.isstandin(f) and
(f in manifest) and
@@ -625,6 +628,7 @@ def overriderevert(orig, ui, repo, *pats
m._files = [tostandin(f) for f in m._files]
m._files = [f for f in m._files if f is not None]
m._fmap = set(m._files)
+ m._always = False
origmatchfn = m.matchfn
def matchfn(f):
if lfutil.isstandin(f):