Rev 1679: Sort revnums in mergeinfo. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Sat Aug 30 03:00:11 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/trunk

------------------------------------------------------------
revno: 1679
revision-id: jelmer at samba.org-20080830020006-iwwk00jpq8sur8hl
parent: jelmer at samba.org-20080829101059-7nq9t0ifwdz7cbtx
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sat 2008-08-30 04:00:06 +0200
message:
  Sort revnums in mergeinfo.
modified:
  properties.py                  util.py-20080502170127-o220e9py99vt69s6-1
=== modified file 'properties.py'
--- a/properties.py	2008-08-23 17:55:26 +0000
+++ b/properties.py	2008-08-30 02:00:06 +0000
@@ -136,7 +136,7 @@
     text = ""
     for (path, ranges) in merges.items():
         assert path.startswith("/")
-        text += "%s:%s\n" % (path, ",".join(map(formatrange, ranges)))
+        text += "%s:%s\n" % (path, ",".join(map(formatrange, sorted(ranges))))
     return text
 
 




More information about the bazaar-commits mailing list