changeset 18366:fdf2f5730bd4

identity: report bookmarks sorted
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 12 Dec 2012 02:51:02 +0100
parents 4148414da120
children ae7215f4f7b9
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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())