##// END OF EJS Templates
narrow: introduce a config option to check if narrow is enabled or not...
Pulkit Goyal -
r40109:e92454e6 default
parent child Browse files
Show More
@@ -62,6 +62,7 b' def reposetup(ui, repo):'
62 if not repo.local():
62 if not repo.local():
63 return
63 return
64
64
65 repo.ui.setconfig('experimental', 'narrow', True, 'narrow-ext')
65 if repository.NARROW_REQUIREMENT in repo.requirements:
66 if repository.NARROW_REQUIREMENT in repo.requirements:
66 narrowrepo.wraprepo(repo)
67 narrowrepo.wraprepo(repo)
67 narrowwirepeer.reposetup(repo)
68 narrowwirepeer.reposetup(repo)
@@ -538,6 +538,9 b" coreconfigitem('experimental', 'mergetem"
538 coreconfigitem('experimental', 'mmapindexthreshold',
538 coreconfigitem('experimental', 'mmapindexthreshold',
539 default=None,
539 default=None,
540 )
540 )
541 coreconfigitem('experimental', 'narrow',
542 default=False,
543 )
541 coreconfigitem('experimental', 'nonnormalparanoidcheck',
544 coreconfigitem('experimental', 'nonnormalparanoidcheck',
542 default=False,
545 default=False,
543 )
546 )
General Comments 0
You need to be logged in to leave comments. Login now