# HG changeset patch # User Pierre-Yves David # Date 2013-11-16 04:27:39 # Node ID 34d4a037dcede355c97a49c283da7d8db990d9bb # Parent 37e2bd56080559810d7f776065b003032ee414e9 discovery: enforce filtering into revlogbaseddag._internalizeall One more step toward discovery running on filtered repo. diff --git a/mercurial/dagutil.py b/mercurial/dagutil.py --- a/mercurial/dagutil.py +++ b/mercurial/dagutil.py @@ -141,7 +141,9 @@ class revlogbaseddag(basedag): rl = self._revlog if filterunknown: return [r for r in map(rl.nodemap.get, ids) - if r is not None and r != nullrev] + if (r is not None + and r != nullrev + and r not in rl.filteredrevs)] return map(self._internalize, ids)