bookmarks: sort diffbookmarks() output
authorPatrick Mezard <pmezard@gmail.com>
Mon, 26 Jul 2010 22:26:12 +0200
changeset 11682 f54ec9c70877
parent 11671 ca6ede0988d5
child 11683 757f39fa1162
bookmarks: sort diffbookmarks() output
hgext/bookmarks.py
--- 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]))