verify: combine sets instead of concatenating lists
authorMartin Geisler <mg@lazybytes.net>
Sat, 25 Apr 2009 22:26:39 +0200
changeset 8164 aaec1f65926e
parent 8163 62d7287fe6b0
child 8166 56719b1aa6f4
verify: combine sets instead of concatenating lists
mercurial/verify.py
--- a/mercurial/verify.py	Sat Apr 25 22:25:49 2009 +0200
+++ b/mercurial/verify.py	Sat Apr 25 22:26:39 2009 +0200
@@ -171,7 +171,7 @@
         elif size > 0:
             storefiles[f] = True
 
-    files = util.sort(set(filenodes.keys() + filelinkrevs.keys()))
+    files = util.sort(set(filenodes) | set(filelinkrevs))
     for f in files:
         lr = filelinkrevs[f][0]
         try: