diff -r 10beda5bd2b7 -r 2d54aa5397cd mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Oct 17 22:28:09 2014 -0700 +++ b/mercurial/localrepo.py Sat Oct 18 01:09:41 2014 -0700 @@ -1445,7 +1445,6 @@ xp1, xp2 = p1.hex(), p2 and p2.hex() or '' self.hook('pretxncommit', throw=True, node=hex(n), parent1=xp1, parent2=xp2, pending=p) - self.changelog.finalize(trp) # set the new commit is proper phase targetphase = subrepo.newcommitphase(self.ui, ctx) if targetphase: