mercurial/localrepo.py
changeset 15888 2072e4031994
parent 15886 a5917346c72e
child 15889 816209eaf963
equal deleted inserted replaced
15887:12dea4d998ec 15888:2072e4031994
   623         nm = self.changelog.nodemap
   623         nm = self.changelog.nodemap
   624         return [(n in nm) for n in nodes]
   624         return [(n in nm) for n in nodes]
   625 
   625 
   626     def local(self):
   626     def local(self):
   627         return self
   627         return self
       
   628 
       
   629     def cancopy(self):
       
   630         return (repo.repository.cancopy(self)
       
   631                 and not self._phaseroots[phases.secret])
   628 
   632 
   629     def join(self, f):
   633     def join(self, f):
   630         return os.path.join(self.path, f)
   634         return os.path.join(self.path, f)
   631 
   635 
   632     def wjoin(self, f):
   636     def wjoin(self, f):