hgext/convert/cvsps.py
changeset 8209 a1a5a57efe90
parent 8171 4e5bd9b97bb3
child 8225 46293a0c7e9f
--- a/hgext/convert/cvsps.py	Sun Apr 26 16:50:44 2009 -0500
+++ b/hgext/convert/cvsps.py	Sun Apr 26 16:50:44 2009 -0500
@@ -383,7 +383,7 @@
         if store:
             # clean up the results and save in the log.
             store = False
-            e.tags = util.sort([scache(x) for x in tags.get(e.revision, [])])
+            e.tags = sorted([scache(x) for x in tags.get(e.revision, [])])
             e.comment = scache('\n'.join(e.comment))
 
             revn = len(e.revision)
@@ -576,7 +576,7 @@
             for tag in e.tags:
                 tags[tag] = True
         # remember tags only if this is the latest changeset to have it
-        c.tags = util.sort([tag for tag in tags if globaltags[tag] is c])
+        c.tags = sorted([tag for tag in tags if globaltags[tag] is c])
 
     # Find parent changesets, handle {{mergetobranch BRANCHNAME}}
     # by inserting dummy changesets with two parents, and handle