Show More
@@ -268,7 +268,10 b' def keyword(repo, subset, x):' | |||
|
268 | 268 | return l |
|
269 | 269 | |
|
270 | 270 | def grep(repo, subset, x): |
|
271 | gr = re.compile(getstring(x, _("grep wants a string"))) | |
|
271 | try: | |
|
272 | gr = re.compile(getstring(x, _("grep wants a string"))) | |
|
273 | except re.error, e: | |
|
274 | raise error.ParseError(_('invalid match pattern: %s') % e) | |
|
272 | 275 | l = [] |
|
273 | 276 | for r in subset: |
|
274 | 277 | c = repo[r] |
General Comments 0
You need to be logged in to leave comments.
Login now