hgext/rebase.py
changeset 35701 c5d220a621e7
parent 35491 bf556bd2f589
child 35856 a046d6890761
child 35955 83b9f96ce20f
equal deleted inserted replaced
35700:a71316bfac87 35701:c5d220a621e7
   769     Returns 0 on success, 1 if nothing to rebase or there are
   769     Returns 0 on success, 1 if nothing to rebase or there are
   770     unresolved conflicts.
   770     unresolved conflicts.
   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:
   779         try:
   782         try:
   780             # in-memory merge doesn't support conflicts, so if we hit any, abort
   783             # in-memory merge doesn't support conflicts, so if we hit any, abort