hgext/rebase.py
changeset 39101 18cbe2d872d3
parent 39100 e9e742bd0501
child 39116 ffb34ee6de9e
--- 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.)