##// END OF EJS Templates
largefiles: replace match.bad() monkey patching with match.badmatch()...
Matt Harbison -
r25440:1a95c579 default
parent child Browse files
Show More
@@ -100,10 +100,10 b' def addlargefiles(ui, repo, isaddremove,'
100 lfmatcher = match_.match(repo.root, '', list(lfpats))
100 lfmatcher = match_.match(repo.root, '', list(lfpats))
101
101
102 lfnames = []
102 lfnames = []
103 m = copy.copy(matcher)
103 m = matcher
104 m.bad = lambda x, y: None
104
105 wctx = repo[None]
105 wctx = repo[None]
106 for f in repo.walk(m):
106 for f in repo.walk(match_.badmatch(m, lambda x, y: None)):
107 exact = m.exact(f)
107 exact = m.exact(f)
108 lfile = lfutil.standin(f) in wctx
108 lfile = lfutil.standin(f) in wctx
109 nfile = f in wctx
109 nfile = f in wctx
General Comments 0
You need to be logged in to leave comments. Login now