mercurial/commands.py
changeset 6682 4fa7701918ed
parent 6631 a2b13cac0922
child 6686 bb1575f74f27
child 6814 88804fad71bc
--- 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: