diff mercurial/commands.py @ 6686:bb1575f74f27

merge with crew-stable
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 16 Jun 2008 11:51:19 +0200
parents 3101e30fd762 4fa7701918ed
children 1fe6f365df2e
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Jun 15 13:05:39 2008 +0200
+++ b/mercurial/commands.py	Mon Jun 16 11:51:19 2008 +0200
@@ -382,7 +382,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: