diff -r 616a455b02ca -r c1ca47204590 mercurial/localrepo.py --- a/mercurial/localrepo.py Wed Aug 06 01:54:19 2014 -0700 +++ b/mercurial/localrepo.py Tue Aug 05 23:52:21 2014 -0700 @@ -1442,7 +1442,7 @@ # be compliant anyway # # if minimal phase was 0 we don't need to retract anything - phases.retractboundary(self, targetphase, [n]) + phases.retractboundary(self, tr, targetphase, [n]) tr.close() branchmap.updatecache(self.filtered('served')) return n