Show More
@@ -299,9 +299,12 b' class dirstate:' | |||
|
299 | 299 | bigpat.append(util.pconvert(pat[:-1])) |
|
300 | 300 | except IOError: pass |
|
301 | 301 | |
|
302 | if bigpat: | |
|
302 | 303 | s = "(?:%s)" % (")|(?:".join(bigpat)) |
|
303 | 304 | r = re.compile(s) |
|
304 | 305 | self.ignorefunc = r.search |
|
306 | else: | |
|
307 | self.ignorefunc = util.never | |
|
305 | 308 | |
|
306 | 309 | return self.ignorefunc(f) |
|
307 | 310 |
General Comments 0
You need to be logged in to leave comments.
Login now