changeset 286:552deb1351ce

Replace mercurial.util.sort with sorted buildin (after mercurial a1a5a57efe90)
author Martijn Pieters <mj@zopatista.com>
date Mon, 27 Apr 2009 09:39:39 -0500
parents 913fd8aa221c
children dc2bb6faf904
files svnexternals.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/svnexternals.py
+++ b/svnexternals.py
@@ -24,7 +24,7 @@ class externalsfile(dict):
 
     def write(self):
         fp = cStringIO.StringIO()
-        for target in hgutil.sort(self):
+        for target in sorted(self):
             lines = self[target]
             if not lines:
                 continue