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