Show More
@@ -681,7 +681,7 b' def unshelvecontinue(ui, repo, state, op' | |||
|
681 | 681 | raise |
|
682 | 682 | |
|
683 | 683 | shelvectx = repo['tip'] |
|
684 |
if not |
|
|
684 | if state.pendingctx not in shelvectx.parents(): | |
|
685 | 685 | # rebase was a no-op, so it produced no child commit |
|
686 | 686 | shelvectx = state.pendingctx |
|
687 | 687 | else: |
@@ -758,7 +758,7 b' def _rebaserestoredcommit(ui, repo, opts' | |||
|
758 | 758 | # refresh ctx after rebase completes |
|
759 | 759 | shelvectx = repo['tip'] |
|
760 | 760 | |
|
761 |
if not |
|
|
761 | if tmpwctx not in shelvectx.parents(): | |
|
762 | 762 | # rebase was a no-op, so it produced no child commit |
|
763 | 763 | shelvectx = tmpwctx |
|
764 | 764 | return shelvectx |
General Comments 0
You need to be logged in to leave comments.
Login now