D3938: rebase: make sure we don't loose the return code in --confirm option
khanchi97 (Sushil khanchi)
phabricator at mercurial-scm.org
Fri Jul 13 08:23:46 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa50482254b0a: rebase: make sure we don't loose the return code in --confirm option (authored by khanchi97, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3938?vs=9574&id=9586
REVISION DETAIL
https://phab.mercurial-scm.org/D3938
AFFECTED FILES
hgext/rebase.py
CHANGE DETAILS
diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -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:
To: khanchi97, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list