[pypy-svn] pypy default: Instead of sorting on the branch name, use oldest-to-newest order.

arigo commits-noreply at bitbucket.org
Sun May 8 17:53:32 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r43954:cfe9d8b0f6d6
Date: 2011-05-08 17:28 +0200
http://bitbucket.org/pypy/pypy/changeset/cfe9d8b0f6d6/

Log:	Instead of sorting on the branch name, use oldest-to-newest order.

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
@@ -32,7 +32,7 @@
 
 # ____________________________________________________________
 
-closed_heads = sorted(set(closed_heads))
+closed_heads.reverse()
 
 for branch_head in closed_heads:
     branch, head = branch_head.split()


More information about the Pypy-commit mailing list