mercurial/localrepo.py
changeset 39763 5ccd791344f3
parent 39758 543f26ece6cf
child 39764 e4e881572382
equal deleted inserted replaced
39762:edaa40dc5fe5 39763:5ccd791344f3
   992     @storecache('00changelog.i')
   992     @storecache('00changelog.i')
   993     def changelog(self):
   993     def changelog(self):
   994         return changelog.changelog(self.svfs,
   994         return changelog.changelog(self.svfs,
   995                                    trypending=txnutil.mayhavepending(self.root))
   995                                    trypending=txnutil.mayhavepending(self.root))
   996 
   996 
   997     def _constructmanifest(self):
       
   998         # This is a temporary function while we migrate from manifest to
       
   999         # manifestlog. It allows bundlerepo and unionrepo to intercept the
       
  1000         # manifest creation.
       
  1001         return manifest.manifestrevlog(self.svfs)
       
  1002 
       
  1003     @storecache('00manifest.i')
   997     @storecache('00manifest.i')
  1004     def manifestlog(self):
   998     def manifestlog(self):
  1005         return manifest.manifestlog(self.svfs, self)
   999         rootstore = manifest.manifestrevlog(self.svfs)
       
  1000         return manifest.manifestlog(self.svfs, self, rootstore)
  1006 
  1001 
  1007     @repofilecache('dirstate')
  1002     @repofilecache('dirstate')
  1008     def dirstate(self):
  1003     def dirstate(self):
  1009         return self._makedirstate()
  1004         return self._makedirstate()
  1010 
  1005