mercurial/localrepo.py
changeset 15483 9ae766f2f452
parent 15456 abcaaf51d568
child 15484 a44446ff9ad8
--- a/mercurial/localrepo.py	Fri Nov 11 00:16:53 2011 +0100
+++ b/mercurial/localrepo.py	Fri Nov 11 00:15:22 2011 +0100
@@ -1243,6 +1243,8 @@
             self.hook('pretxncommit', throw=True, node=hex(n), parent1=xp1,
                       parent2=xp2, pending=p)
             self.changelog.finalize(trp)
+            # ensure the new commit is 1-phase
+            phases.retractboundary(self, 1, [n])
             tr.close()
 
             if self._branchcache: