changeset 8164:aaec1f65926e

verify: combine sets instead of concatenating lists
author Martin Geisler <mg@lazybytes.net>
date Sat, 25 Apr 2009 22:26:39 +0200
parents 62d7287fe6b0
children 56719b1aa6f4
files mercurial/verify.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: