Skip to content
Snippets Groups Projects
Commit a5048225 authored by Sushil Khanchi's avatar Sushil Khanchi :koala:
Browse files

rebase: make sure we don't loose the return code in --confirm option

return _dorebase() to make sure it returns 'return code'.

Differential Revision: https://phab.mercurial-scm.org/D3938
parent 20a30bb8
Branches
Tags
No related merge requests found
......@@ -874,7 +874,7 @@
needsabort = False
if not ui.promptchoice(_(b'apply changes (yn)?'
b'$$ &Yes $$ &No')):
_dorebase(ui, repo, opts, inmemory=False)
return _dorebase(ui, repo, opts, inmemory=False)
return 1
else:
if confirm:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment