mercurial/localrepo.py
changeset 47226 19d4802cb304
parent 47221 5eb5b866e517
child 47229 21b3e6116bd1
equal deleted inserted replaced
47225:d00177d08139 47226:19d4802cb304
   735     hgvfs.createmode = store.createmode
   735     hgvfs.createmode = store.createmode
   736 
   736 
   737     storevfs = store.vfs
   737     storevfs = store.vfs
   738     storevfs.options = resolvestorevfsoptions(ui, requirements, features)
   738     storevfs.options = resolvestorevfsoptions(ui, requirements, features)
   739 
   739 
       
   740     if requirementsmod.REVLOGV2_REQUIREMENT in requirements:
       
   741         features.add(repository.REPO_FEATURE_SIDE_DATA)
       
   742 
   740     # The cache vfs is used to manage cache files.
   743     # The cache vfs is used to manage cache files.
   741     cachevfs = vfsmod.vfs(cachepath, cacheaudited=True)
   744     cachevfs = vfsmod.vfs(cachepath, cacheaudited=True)
   742     cachevfs.createmode = store.createmode
   745     cachevfs.createmode = store.createmode
   743     # The cache vfs is used to manage cache files related to the working copy
   746     # The cache vfs is used to manage cache files related to the working copy
   744     wcachevfs = vfsmod.vfs(wcachepath, cacheaudited=True)
   747     wcachevfs = vfsmod.vfs(wcachepath, cacheaudited=True)