##// END OF EJS Templates
context: extend efficient manifest filtering to when all paths are files...
Siddharth Agarwal -
r21895:5809d62e default
parent child Browse files
Show More
@@ -74,8 +74,10 b' class basectx(object):'
74 if match.always():
74 if match.always():
75 return self.manifest().copy()
75 return self.manifest().copy()
76
76
77 if match.matchfn == match.exact:
77 files = match.files()
78 return self.manifest().intersectfiles(match.files())
78 if (match.matchfn == match.exact or
79 (not match.anypats() and util.all(fn in self for fn in files))):
80 return self.manifest().intersectfiles(files)
79
81
80 mf = self.manifest().copy()
82 mf = self.manifest().copy()
81 for fn in mf.keys():
83 for fn in mf.keys():
General Comments 0
You need to be logged in to leave comments. Login now