diff -r d34058dd3246 -r 616a455b02ca mercurial/commands.py --- a/mercurial/commands.py Wed Aug 06 00:54:37 2014 -0700 +++ b/mercurial/commands.py Wed Aug 06 01:54:19 2014 -0700 @@ -4583,7 +4583,7 @@ raise util.Abort(_('empty revision set')) nodes = [repo[r].node() for r in revs] olddata = repo._phasecache.getphaserevs(repo)[:] - phases.advanceboundary(repo, targetphase, nodes) + phases.advanceboundary(repo, tr, targetphase, nodes) if opts['force']: phases.retractboundary(repo, targetphase, nodes) tr.close()