Show More
@@ -262,8 +262,8 b' def _matcher(canonroot, cwd, names, inc,' | |||||
262 | pat = '(?:%s)' % regex(k, p, tail) |
|
262 | pat = '(?:%s)' % regex(k, p, tail) | |
263 | matches.append(re.compile(pat).match) |
|
263 | matches.append(re.compile(pat).match) | |
264 | except re.error: |
|
264 | except re.error: | |
265 |
if src: raise Abort("%s: invalid pattern |
|
265 | if src: raise Abort("%s: invalid pattern (%s): %s" % (src, k, p)) | |
266 |
else: raise Abort("invalid pattern |
|
266 | else: raise Abort("invalid pattern (%s): %s" % (k, p)) | |
267 |
|
267 | |||
268 | def buildfn(text): |
|
268 | def buildfn(text): | |
269 | for m in matches: |
|
269 | for m in matches: |
General Comments 0
You need to be logged in to leave comments.
Login now