Show More
@@ -199,7 +199,7 b' def blocksinrange(blocks, rangeb):' | |||
|
199 | 199 | if hunkinrange((b1, (b2 - b1)), rangeb): |
|
200 | 200 | filteredblocks.append(block) |
|
201 | 201 | if lba is None or uba is None or uba < lba: |
|
202 |
raise error. |
|
|
202 | raise error.InputError(_(b'line range exceeds file size')) | |
|
203 | 203 | return filteredblocks, (lba, uba) |
|
204 | 204 | |
|
205 | 205 |
@@ -960,7 +960,7 b' check error cases' | |||
|
960 | 960 | [255] |
|
961 | 961 | $ hg log -r 'followlines(baz, 2:40)' |
|
962 | 962 | abort: line range exceeds file size |
|
963 |
[ |
|
|
963 | [10] | |
|
964 | 964 | $ hg log -r 'followlines(baz, 2:4, startrev=20, descend=[1])' |
|
965 | 965 | hg: parse error at 43: not a prefix: [ |
|
966 | 966 | (followlines(baz, 2:4, startrev=20, descend=[1]) |
General Comments 0
You need to be logged in to leave comments.
Login now