diff -r 616a455b02ca -r c1ca47204590 mercurial/commands.py --- a/mercurial/commands.py Wed Aug 06 01:54:19 2014 -0700 +++ b/mercurial/commands.py Tue Aug 05 23:52:21 2014 -0700 @@ -4585,7 +4585,7 @@ olddata = repo._phasecache.getphaserevs(repo)[:] phases.advanceboundary(repo, tr, targetphase, nodes) if opts['force']: - phases.retractboundary(repo, targetphase, nodes) + phases.retractboundary(repo, tr, targetphase, nodes) tr.close() finally: if tr is not None: