diff mercurial/commands.py @ 18366:fdf2f5730bd4

identity: report bookmarks sorted
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 12 Dec 2012 02:51:02 +0100
parents 5bb610f87d1d
children 03442135dff4
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Jan 15 02:59:13 2013 +0100
+++ b/mercurial/commands.py	Wed Dec 12 02:51:02 2012 +0100
@@ -3632,7 +3632,7 @@
                 bms = [bm for bm, bmr in peer.listkeys('bookmarks').iteritems()
                        if bmr == hexremoterev]
 
-            return bms
+            return sorted(bms)
 
         if bookmarks:
             output.extend(getbms())