Show More
@@ -241,7 +241,8 b' def tokenize(program, lookup=None, symin' | |||||
241 | yield ('symbol', sym, s) |
|
241 | yield ('symbol', sym, s) | |
242 | pos -= 1 |
|
242 | pos -= 1 | |
243 | else: |
|
243 | else: | |
244 |
raise error.ParseError(_("syntax error") |
|
244 | raise error.ParseError(_("syntax error in revset '%s'") % | |
|
245 | program, pos) | |||
245 | pos += 1 |
|
246 | pos += 1 | |
246 | yield ('end', None, pos) |
|
247 | yield ('end', None, pos) | |
247 |
|
248 |
@@ -1535,7 +1535,7 b' test in problematic encoding' | |||||
1535 |
|
1535 | |||
1536 | test error message of bad revset |
|
1536 | test error message of bad revset | |
1537 | $ hg log -r 'foo\\' |
|
1537 | $ hg log -r 'foo\\' | |
1538 | hg: parse error at 3: syntax error |
|
1538 | hg: parse error at 3: syntax error in revset 'foo\\' | |
1539 | [255] |
|
1539 | [255] | |
1540 |
|
1540 | |||
1541 | $ cd .. |
|
1541 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now