##// END OF EJS Templates
rebase: don't run IMM if running rebase in a transaction...
Phil Cohen -
r35719:c5d220a6 default
parent child Browse files
Show More
@@ -771,8 +771,11 b' def rebase(ui, repo, **opts):'
771
771
772 """
772 """
773 inmemory = ui.configbool('rebase', 'experimental.inmemory')
773 inmemory = ui.configbool('rebase', 'experimental.inmemory')
774 if opts.get('continue') or opts.get('abort'):
774 if (opts.get('continue') or opts.get('abort') or
775 repo.currenttransaction() is not None):
775 # in-memory rebase is not compatible with resuming rebases.
776 # in-memory rebase is not compatible with resuming rebases.
777 # (Or if it is run within a transaction, since the restart logic can
778 # fail the entire transaction.)
776 inmemory = False
779 inmemory = False
777
780
778 if inmemory:
781 if inmemory:
General Comments 0
You need to be logged in to leave comments. Login now