mercurial/localrepo.py
changeset 15889 816209eaf963
parent 15888 2072e4031994
child 15890 e234eda20984
equal deleted inserted replaced
15888:2072e4031994 15889:816209eaf963
   619         repo = (remote and remote.local()) and remote or self
   619         repo = (remote and remote.local()) and remote or self
   620         return repo[key].branch()
   620         return repo[key].branch()
   621 
   621 
   622     def known(self, nodes):
   622     def known(self, nodes):
   623         nm = self.changelog.nodemap
   623         nm = self.changelog.nodemap
   624         return [(n in nm) for n in nodes]
   624         result = []
       
   625         for n in nodes:
       
   626             r = nm.get(n)
       
   627             resp = not (r is None or self._phaserev[r] >= phases.secret)
       
   628             result.append(resp)
       
   629         return result
   625 
   630 
   626     def local(self):
   631     def local(self):
   627         return self
   632         return self
   628 
   633 
   629     def cancopy(self):
   634     def cancopy(self):