changeset 46371 | 0903d6b9b1df |
parent 46357 | 72f5280e33b6 |
child 46794 | e2f7b2695ba1 |
--- a/mercurial/commit.py Fri Jan 15 01:30:08 2021 +0100 +++ b/mercurial/commit.py Tue Jan 19 00:20:53 2021 +0100 @@ -97,6 +97,9 @@ extra, ) rev = repo[n].rev() + if oldtip != repo.changelog.tiprev(): + repo.register_changeset(rev, repo.changelog.changelogrevision(rev)) + xp1, xp2 = p1.hex(), p2 and p2.hex() or b'' repo.hook( b'pretxncommit',