mercurial/crecord.py
changeset 45877 ac362d5a7893
parent 45801 91c41ea14598
child 45942 89a2afe31e82
--- a/mercurial/crecord.py	Tue Nov 17 15:51:09 2020 -0800
+++ b/mercurial/crecord.py	Thu Oct 22 14:14:59 2020 -0700
@@ -1894,7 +1894,7 @@
         elif keypressed in ["H", "KEY_SLEFT"]:
             self.leftarrowshiftevent()
         elif keypressed in ["q"]:
-            raise error.Abort(_(b'user quit'))
+            raise error.CanceledError(_(b'user quit'))
         elif keypressed in ['a']:
             self.flipselections()
         elif keypressed in ["c"]: