Changeset View
Changeset View
Standalone View
Standalone View
mercurial/localrepo.py
Show First 20 Lines • Show All 733 Lines • ▼ Show 20 Line(s) | def makelocalrepository(baseui, path, intents=None): | ||||
) | ) | ||||
hgvfs.createmode = store.createmode | hgvfs.createmode = store.createmode | ||||
storevfs = store.vfs | storevfs = store.vfs | ||||
storevfs.options = resolvestorevfsoptions(ui, requirements, features) | storevfs.options = resolvestorevfsoptions(ui, requirements, features) | ||||
if requirementsmod.REVLOGV2_REQUIREMENT in requirements: | if requirementsmod.REVLOGV2_REQUIREMENT in requirements: | ||||
features.add(repository.REPO_FEATURE_SIDE_DATA) | features.add(repository.REPO_FEATURE_SIDE_DATA) | ||||
# the revlogv2 docket introduced race condition that we need to fix | |||||
features.discard(repository.REPO_FEATURE_STREAM_CLONE) | |||||
# The cache vfs is used to manage cache files. | # The cache vfs is used to manage cache files. | ||||
cachevfs = vfsmod.vfs(cachepath, cacheaudited=True) | cachevfs = vfsmod.vfs(cachepath, cacheaudited=True) | ||||
cachevfs.createmode = store.createmode | cachevfs.createmode = store.createmode | ||||
# The cache vfs is used to manage cache files related to the working copy | # The cache vfs is used to manage cache files related to the working copy | ||||
wcachevfs = vfsmod.vfs(wcachepath, cacheaudited=True) | wcachevfs = vfsmod.vfs(wcachepath, cacheaudited=True) | ||||
wcachevfs.createmode = store.createmode | wcachevfs.createmode = store.createmode | ||||
▲ Show 20 Lines • Show All 3014 Lines • Show Last 20 Lines |