mercurial/patch.py
changeset 45892 ac362d5a7893
parent 45154 10f48720ef95
child 45957 89a2afe31e82
--- a/mercurial/patch.py	Tue Nov 17 15:51:09 2020 -0800
+++ b/mercurial/patch.py	Thu Oct 22 14:14:59 2020 -0700
@@ -1272,7 +1272,7 @@
             elif r == 6:  # all
                 ret = skipall = True
             elif r == 7:  # quit
-                raise error.Abort(_(b'user quit'))
+                raise error.CanceledError(_(b'user quit'))
             return ret, skipfile, skipall, newpatches
 
     seen = set()