diff mercurial/commands.py @ 8464:7af92e70bb25

revlog: use set instead of dict
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 17 May 2009 03:49:59 +0200
parents 72538f1909ec
children 6062c6362b2e
line wrap: on
line diff
--- a/mercurial/commands.py	Sun May 17 03:40:54 2009 +0200
+++ b/mercurial/commands.py	Sun May 17 03:49:59 2009 +0200
@@ -503,7 +503,7 @@
         # create the right base
         # XXX: nodesbetween / changegroup* should be "fixed" instead
         o = []
-        has = {nullid: None}
+        has = set((nullid,))
         for n in base:
             has.update(repo.changelog.reachable(n))
         if revs: