Show More
@@ -3444,7 +3444,8 def grep(ui, repo, pattern, *pats, **opt | |||
|
3444 | 3444 | regexp = util.re.compile(pattern, reflags) |
|
3445 | 3445 | except re.error as inst: |
|
3446 | 3446 | ui.warn( |
|
3447 |
_(b"grep: invalid match pattern: %s\n") |
|
|
3447 | _(b"grep: invalid match pattern: %s\n") | |
|
3448 | % stringutil.forcebytestr(inst) | |
|
3448 | 3449 | ) |
|
3449 | 3450 | return 1 |
|
3450 | 3451 | sep, eol = b':', b'\n' |
General Comments 0
You need to be logged in to leave comments.
Login now