--- 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