[PATCH 14 of 24] identity: report bookmarks sorted
Mads Kiilerich
mads at kiilerich.com
Sun Dec 16 16:34:09 CST 2012
# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1355277062 -3600
# Node ID 8578a1efbb0d9e246b4b816ffde2afc8cf2ccd8c
# Parent 2449e26fec892aa8ab334db4f5424011e4081f91
identity: report bookmarks sorted
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3630,7 +3630,7 @@
bms = [bm for bm, bmr in peer.listkeys('bookmarks').iteritems()
if bmr == hexremoterev]
- return bms
+ return sorted(bms)
if bookmarks:
output.extend(getbms())
More information about the Mercurial-devel
mailing list