Show More
@@ -504,7 +504,14 b' class localrepository:' | |||
|
504 | 504 | l = file(self.wjoin(".hgignore")) |
|
505 | 505 | for pat in l: |
|
506 | 506 | if pat != "\n": |
|
507 |
|
|
|
507 | p = util.pconvert(pat[:-1]) | |
|
508 | try: | |
|
509 | r = re.compile(p) | |
|
510 | except: | |
|
511 | self.ui.warn("ignoring invalid ignore" | |
|
512 | + " regular expression '%s'\n" % p) | |
|
513 | else: | |
|
514 | bigpat.append(util.pconvert(pat[:-1])) | |
|
508 | 515 | except IOError: pass |
|
509 | 516 | if bigpat: |
|
510 | 517 | s = "(?:%s)" % (")|(?:".join(bigpat)) |
General Comments 0
You need to be logged in to leave comments.
Login now