identity: report bookmarks sorted
authorMads Kiilerich <mads@kiilerich.com>
Wed, 12 Dec 2012 02:51:02 +0100
changeset 18366 fdf2f5730bd4
parent 18365 4148414da120
child 18367 ae7215f4f7b9
identity: report bookmarks sorted
mercurial/commands.py
--- 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())