Fix python2.3 incompatibility introduced by a2b13cac0922.
authorThomas Arendsen Hein <thomas@intevation.de>
Mon, 16 Jun 2008 11:50:33 +0200
changeset 6682 4fa7701918ed
parent 6681 6a6ef726a2b3
child 6686 bb1575f74f27
child 6724 2e58f1a36046
Fix python2.3 incompatibility introduced by a2b13cac0922.
mercurial/commands.py
--- 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: