equal
deleted
inserted
replaced
191 elif behavior == b'confirm': |
191 elif behavior == b'confirm': |
192 if ui.promptchoice( |
192 if ui.promptchoice( |
193 _(b'push and publish %i changesets (yn)?$$ &Yes $$ &No') |
193 _(b'push and publish %i changesets (yn)?$$ &Yes $$ &No') |
194 % len(published) |
194 % len(published) |
195 ): |
195 ): |
196 raise error.Abort(_(b'user quit')) |
196 raise error.CanceledError(_(b'user quit')) |
197 elif behavior == b'abort': |
197 elif behavior == b'abort': |
198 msg = _(b'push would publish %i changesets') % len(published) |
198 msg = _(b'push would publish %i changesets') % len(published) |
199 hint = _( |
199 hint = _( |
200 b"use --publish or adjust 'experimental.auto-publish'" |
200 b"use --publish or adjust 'experimental.auto-publish'" |
201 b" config" |
201 b" config" |