Mercurial > hg
changeset 20224:34d4a037dced
discovery: enforce filtering into revlogbaseddag._internalizeall
One more step toward discovery running on filtered repo.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 15 Nov 2013 23:27:39 -0500 |
parents | 37e2bd560805 |
children | d2704c48f417 |
files | mercurial/dagutil.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/dagutil.py Fri Nov 15 23:27:15 2013 -0500 +++ b/mercurial/dagutil.py Fri Nov 15 23:27:39 2013 -0500 @@ -141,7 +141,9 @@ 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)