changeset 45892 | ac362d5a7893 |
parent 45807 | 74271829ddc0 |
child 45925 | f0626acf007d |
--- a/mercurial/exchange.py Tue Nov 17 15:51:09 2020 -0800 +++ b/mercurial/exchange.py Thu Oct 22 14:14:59 2020 -0700 @@ -193,7 +193,7 @@ _(b'push and publish %i changesets (yn)?$$ &Yes $$ &No') % len(published) ): - raise error.Abort(_(b'user quit')) + raise error.CanceledError(_(b'user quit')) elif behavior == b'abort': msg = _(b'push would publish %i changesets') % len(published) hint = _(