Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 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 | a2b13cac0922 |
children | bb1575f74f27 88804fad71bc |
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: