Show More
@@ -579,6 +579,12 b' class rebaseruntime(object):' | |||||
579 | editor=editor, |
|
579 | editor=editor, | |
580 | keepbranches=self.keepbranchesf, |
|
580 | keepbranches=self.keepbranchesf, | |
581 | date=self.date) |
|
581 | date=self.date) | |
|
582 | ||||
|
583 | if newnode is None: | |||
|
584 | # If it ended up being a no-op commit, then the normal | |||
|
585 | # merge state clean-up path doesn't happen, so do it | |||
|
586 | # here. Fix issue5494 | |||
|
587 | mergemod.mergestate.clean(repo) | |||
582 | if newnode is not None: |
|
588 | if newnode is not None: | |
583 | newrev = repo[newnode].rev() |
|
589 | newrev = repo[newnode].rev() | |
584 | for oldrev in self.state: |
|
590 | for oldrev in self.state: |
@@ -479,7 +479,6 b' Now try again with --collapse' | |||||
479 | $ hg rebase --continue |
|
479 | $ hg rebase --continue | |
480 | rebasing 2:fdaca8533b86 "b" (tip) |
|
480 | rebasing 2:fdaca8533b86 "b" (tip) | |
481 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/fdaca8533b86-7fd70513-rebase.hg |
|
481 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/fdaca8533b86-7fd70513-rebase.hg | |
482 | BROKEN: the merge state was not cleared |
|
|||
483 | $ hg resolve --list |
|
482 | $ hg resolve --list | |
484 | R a |
|
|||
485 | $ test -d .hg/merge |
|
483 | $ test -d .hg/merge | |
|
484 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now