Show More
@@ -178,6 +178,7 b' class rebaseruntime(object):' | |||
|
178 | 178 | # --continue or --abort)), the original repo should be used so |
|
179 | 179 | # visibility-dependent revsets are correct. |
|
180 | 180 | self.prepared = False |
|
181 | self.resume = False | |
|
181 | 182 | self._repo = repo |
|
182 | 183 | |
|
183 | 184 | self.ui = ui |
@@ -367,6 +368,7 b' class rebaseruntime(object):' | |||
|
367 | 368 | _checkobsrebase(self.repo, self.ui, obsoleteset, skippedset) |
|
368 | 369 | |
|
369 | 370 | def _prepareabortorcontinue(self, isabort, backup=True, suppwarns=False): |
|
371 | self.resume = True | |
|
370 | 372 | try: |
|
371 | 373 | self.restorestatus() |
|
372 | 374 | self.collapsemsg = restorecollapsemsg(self.repo, isabort) |
@@ -606,8 +608,9 b' class rebaseruntime(object):' | |||
|
606 | 608 | self.skipped, |
|
607 | 609 | self.obsoletenotrebased, |
|
608 | 610 | ) |
|
609 | if not self.inmemory and len(repo[None].parents()) == 2: | |
|
611 | if self.resume and self.wctx.p1().rev() == p1: | |
|
610 | 612 | repo.ui.debug(b'resuming interrupted rebase\n') |
|
613 | self.resume = False | |
|
611 | 614 | else: |
|
612 | 615 | overrides = {(b'ui', b'forcemerge'): opts.get(b'tool', b'')} |
|
613 | 616 | with ui.configoverride(overrides, b'rebase'): |
General Comments 0
You need to be logged in to leave comments.
Login now