##// END OF EJS Templates
convert/cvsps: use set.update for bulk update
Martin Geisler -
r8483:221786b9 default
parent child Browse files
Show More
@@ -572,8 +572,7 b' def createchangeset(ui, log, fuzz=60, me'
572 for c in changesets:
572 for c in changesets:
573 tags = set()
573 tags = set()
574 for e in c.entries:
574 for e in c.entries:
575 for tag in e.tags:
575 tags.update(e.tags)
576 tags.add(tag)
577 # remember tags only if this is the latest changeset to have it
576 # remember tags only if this is the latest changeset to have it
578 c.tags = sorted(tag for tag in tags if globaltags[tag] is c)
577 c.tags = sorted(tag for tag in tags if globaltags[tag] is c)
579
578
General Comments 0
You need to be logged in to leave comments. Login now