# HG changeset patch # User Martin Geisler # Date 2009-04-25 20:26:39 # Node ID aaec1f65926e6355c8aebc2d60e7664dbfbb7edd # Parent 62d7287fe6b0978802989205e2e807fced13e2b1 verify: combine sets instead of concatenating lists diff --git a/mercurial/verify.py b/mercurial/verify.py --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -171,7 +171,7 @@ def _verify(repo): 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: