changeset 22878:890e874cacb6

graphnode: remove usage of `set()` All smartset classes have fast lookup, so this function will be removed soon.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 10 Oct 2014 11:27:04 -0700
parents 489d2f3688c9
children efe5062145c1
files mercurial/graphmod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/graphmod.py	Wed Oct 08 02:52:10 2014 -0700
+++ b/mercurial/graphmod.py	Fri Oct 10 11:27:04 2014 -0700
@@ -37,7 +37,7 @@
     lowestrev = revs.min()
     gpcache = {}
 
-    knownrevs = revs.set()
+    knownrevs = revs
     for rev in revs:
         ctx = repo[rev]
         parents = sorted(set([p.rev() for p in ctx.parents()