Mercurial > hg
diff mercurial/graphmod.py @ 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 | e87bd3485a07 |
children | bb1bd9ee323d |
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()