diff mercurial/commands.py @ 18255:7ca534f31a83

debugpushkey: list keys sorted
author Mads Kiilerich <mads at kiilerich.com>
date Sun, 16 Dec 2012 20:50:57 +0100
parents 2dfe519d435d
children 5bb610f87d1d
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Dec 12 02:38:14 2012 +0100
+++ b/mercurial/commands.py	Sun Dec 16 20:50:57 2012 +0100
@@ -2156,7 +2156,7 @@
         ui.status(str(r) + '\n')
         return not r
     else:
-        for k, v in target.listkeys(namespace).iteritems():
+        for k, v in sorted(target.listkeys(namespace).iteritems()):
             ui.write("%s\t%s\n" % (k.encode('string-escape'),
                                    v.encode('string-escape')))