# HG changeset patch # User Pierre-Yves David # Date 2014-10-08 09:47:46 # Node ID a9fb3d598ca2e2d96f9fc3d19d974ba2279dd321 # Parent 88ad04bcdc741269fb0e68120eedbe39b03a2d12 revset-destination: remove usage of `set()` All smartset classes have fast lookup, so this function will be removed soon. diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -692,9 +692,9 @@ def destination(repo, subset, x): is the same as passing all(). """ if x is not None: - args = getset(repo, spanset(repo), x).set() + args = getset(repo, spanset(repo), x) else: - args = getall(repo, spanset(repo), x).set() + args = getall(repo, spanset(repo), x) dests = set()