diff -r 2072e4031994 -r 816209eaf963 mercurial/localrepo.py --- a/mercurial/localrepo.py Wed Jan 11 17:26:27 2012 +0100 +++ b/mercurial/localrepo.py Thu Jan 12 01:25:57 2012 +0100 @@ -621,7 +621,12 @@ def known(self, nodes): nm = self.changelog.nodemap - return [(n in nm) for n in nodes] + result = [] + for n in nodes: + r = nm.get(n) + resp = not (r is None or self._phaserev[r] >= phases.secret) + result.append(resp) + return result def local(self): return self