equal
deleted
inserted
replaced
98 lfpats = ui.configlist(lfutil.longname, 'patterns', default=[]) |
98 lfpats = ui.configlist(lfutil.longname, 'patterns', default=[]) |
99 if lfpats: |
99 if lfpats: |
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 |
110 exists = lfile or nfile |
110 exists = lfile or nfile |
111 |
111 |