changeset 6682:4fa7701918ed

Fix python2.3 incompatibility introduced by a2b13cac0922.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 16 Jun 2008 11:50:33 +0200
parents 6a6ef726a2b3
children bb1575f74f27 2e58f1a36046
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Jun 16 11:37:26 2008 +0200
+++ b/mercurial/commands.py	Mon Jun 16 11:50:33 2008 +0200
@@ -380,7 +380,8 @@
                             for n in repo.heads()]
     branches = [(tag in activebranches, repo.changelog.rev(node), tag)
                             for tag, node in repo.branchtags().items()]
-    branches.sort(reverse=True)
+    branches.sort()
+    branches.reverse()
 
     for isactive, node, tag in branches:
         if (not active) or isactive: