--- 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())