changeset 11682:f54ec9c70877

bookmarks: sort diffbookmarks() output
author Patrick Mezard <pmezard@gmail.com>
date Mon, 26 Jul 2010 22:26:12 +0200
parents ca6ede0988d5
children 757f39fa1162
files hgext/bookmarks.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/bookmarks.py	Sun Jul 25 08:22:03 2010 -0700
+++ b/hgext/bookmarks.py	Mon Jul 26 22:26:12 2010 +0200
@@ -457,7 +457,7 @@
     lmarks = repo.listkeys('bookmarks')
     rmarks = remote.listkeys('bookmarks')
 
-    diff = set(rmarks) - set(lmarks)
+    diff = sorted(set(rmarks) - set(lmarks))
     for k in diff:
         ui.write("   %-25s %s\n" % (k, rmarks[k][:12]))