##// END OF EJS Templates
largefiles: fix _always for match overrides...
Siddharth Agarwal -
r18813:d780c472 default
parent child Browse files
Show More
@@ -34,6 +34,7 b' def installnormalfilesmatchfn(manifest):'
34 34 manifest)
35 35 m._files = filter(notlfile, m._files)
36 36 m._fmap = set(m._files)
37 m._always = False
37 38 origmatchfn = m.matchfn
38 39 m.matchfn = lambda f: notlfile(f) and origmatchfn(f) or None
39 40 return m
@@ -251,6 +252,7 b' def overridelog(orig, ui, repo, *pats, *'
251 252 standins = [lfutil.standin(f) for f in m._files]
252 253 m._files.extend(standins)
253 254 m._fmap = set(m._files)
255 m._always = False
254 256 origmatchfn = m.matchfn
255 257 def lfmatchfn(f):
256 258 lf = lfutil.splitstandin(f)
@@ -519,6 +521,7 b' def overridecopy(orig, ui, repo, pats, o'
519 521 lfile = lambda f: lfutil.standin(f) in manifest
520 522 m._files = [lfutil.standin(f) for f in m._files if lfile(f)]
521 523 m._fmap = set(m._files)
524 m._always = False
522 525 origmatchfn = m.matchfn
523 526 m.matchfn = lambda f: (lfutil.isstandin(f) and
524 527 (f in manifest) and
@@ -625,6 +628,7 b' def overriderevert(orig, ui, repo, *pats'
625 628 m._files = [tostandin(f) for f in m._files]
626 629 m._files = [f for f in m._files if f is not None]
627 630 m._fmap = set(m._files)
631 m._always = False
628 632 origmatchfn = m.matchfn
629 633 def matchfn(f):
630 634 if lfutil.isstandin(f):
General Comments 0
You need to be logged in to leave comments. Login now