mercurial/mdiff.py
changeset 45888 c8860a212770
parent 45154 10f48720ef95
child 45957 89a2afe31e82
--- a/mercurial/mdiff.py	Sat Nov 07 22:31:29 2020 +0100
+++ b/mercurial/mdiff.py	Mon Nov 16 16:25:04 2020 -0800
@@ -199,7 +199,7 @@
         if hunkinrange((b1, (b2 - b1)), rangeb):
             filteredblocks.append(block)
     if lba is None or uba is None or uba < lba:
-        raise error.Abort(_(b'line range exceeds file size'))
+        raise error.InputError(_(b'line range exceeds file size'))
     return filteredblocks, (lba, uba)