Mercurial > hg
diff hgext/bookmarks.py @ 11682:f54ec9c70877
bookmarks: sort diffbookmarks() output
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 26 Jul 2010 22:26:12 +0200 |
parents | ead7550f1aab |
children | e95bacedae12 |
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]))