Author: Ronny Pfannschmidt <ronny.pfannschm...@gmx.de> Branch: Changeset: r54356:ffcf6c713e0b Date: 2012-04-14 11:12 +0200 http://bitbucket.org/pypy/pypy/changeset/ffcf6c713e0b/
Log: tool.clean_old_branches: dont update/purge for every head diff --git a/pypy/tool/clean_old_branches.py b/pypy/tool/clean_old_branches.py --- a/pypy/tool/clean_old_branches.py +++ b/pypy/tool/clean_old_branches.py @@ -54,11 +54,13 @@ print '*** error %r' % (err,) sys.exit(1) +print '*** switching to closed branches *** ' +do("hg up --clean closed-branches") +do("hg --config extensions.purge= purge --all") + for head, branch in closed_heads: print print '***** %s ***** %s *****' % (branch, head) - do("hg up --clean closed-branches") - do("hg --config extensions.purge= purge --all") do("hg debugsetparents closed-branches %s" % head) do("hg ci -m'Merge closed head %s on branch %s'" % (head, branch)) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit