diff -r e9e742bd0501 -r 18cbe2d872d3 hgext/rebase.py --- a/hgext/rebase.py Wed Aug 15 10:47:07 2018 +0900 +++ b/hgext/rebase.py Wed Aug 15 10:57:47 2018 +0900 @@ -818,7 +818,7 @@ if dryrun and confirm: raise error.Abort(_('cannot specify both --confirm and --dry-run')) - if action in {'abort', 'continue'} or repo.currenttransaction() is not None: + if action or repo.currenttransaction() is not None: # in-memory rebase is not compatible with resuming rebases. # (Or if it is run within a transaction, since the restart logic can # fail the entire transaction.)