Show More
@@ -697,6 +697,7 b' class rebaseruntime(object):' | |||
|
697 | 697 | editor = cmdutil.getcommiteditor(edit=editopt, editform=editform) |
|
698 | 698 | revtoreuse = max(self.state) |
|
699 | 699 | |
|
700 | self.wctx.setparents(repo[p1].node(), repo[self.external].node()) | |
|
700 | 701 | newnode = self._concludenode( |
|
701 | 702 | revtoreuse, p1, self.external, editor, commitmsg=commitmsg |
|
702 | 703 | ) |
@@ -1433,7 +1434,6 b' def commitmemorynode(repo, p1, p2, wctx,' | |||
|
1433 | 1434 | if b'branch' in extra: |
|
1434 | 1435 | branch = extra[b'branch'] |
|
1435 | 1436 | |
|
1436 | wctx.setparents(repo[p1].node(), repo[p2].node()) | |
|
1437 | 1437 | memctx = wctx.tomemctx( |
|
1438 | 1438 | commitmsg, |
|
1439 | 1439 | date=date, |
@@ -1454,8 +1454,6 b' def commitnode(repo, p1, p2, editor, ext' | |||
|
1454 | 1454 | if not repo.ui.configbool(b'rebase', b'singletransaction'): |
|
1455 | 1455 | dsguard = dirstateguard.dirstateguard(repo, b'rebase') |
|
1456 | 1456 | with dsguard: |
|
1457 | repo.setparents(repo[p1].node(), repo[p2].node()) | |
|
1458 | ||
|
1459 | 1457 | # Commit might fail if unresolved files exist |
|
1460 | 1458 | newnode = repo.commit( |
|
1461 | 1459 | text=commitmsg, user=user, date=date, extra=extra, editor=editor |
General Comments 0
You need to be logged in to leave comments.
Login now