mercurial/bundlerepo.py
branchstable
changeset 15597 bc0778f5619a
parent 15091 106f89299da6
child 16042 4b7aa1c899dc
equal deleted inserted replaced
15595:a585d78e7b2f 15597:bc0778f5619a
   264         return False
   264         return False
   265 
   265 
   266     def getcwd(self):
   266     def getcwd(self):
   267         return os.getcwd() # always outside the repo
   267         return os.getcwd() # always outside the repo
   268 
   268 
       
   269     def _writebranchcache(self, branches, tip, tiprev):
       
   270         # don't overwrite the disk cache with bundle-augmented data
       
   271         pass
       
   272 
   269 def instance(ui, path, create):
   273 def instance(ui, path, create):
   270     if create:
   274     if create:
   271         raise util.Abort(_('cannot create new bundle repository'))
   275         raise util.Abort(_('cannot create new bundle repository'))
   272     parentpath = ui.config("bundle", "mainreporoot", "")
   276     parentpath = ui.config("bundle", "mainreporoot", "")
   273     if parentpath:
   277     if parentpath: