##// END OF EJS Templates
phases: add a repository requirement about internal phase...
Boris Feld -
r39334:7a9f15ed default
parent child Browse files
Show More
@@ -679,6 +679,9 b" coreconfigitem('format', 'usegeneraldelt"
679 coreconfigitem('format', 'usestore',
679 coreconfigitem('format', 'usestore',
680 default=True,
680 default=True,
681 )
681 )
682 coreconfigitem('format', 'internal-phase',
683 default=False,
684 )
682 coreconfigitem('fsmonitor', 'warn_when_unused',
685 coreconfigitem('fsmonitor', 'warn_when_unused',
683 default=True,
686 default=True,
684 )
687 )
@@ -394,6 +394,7 b' class localrepository(object):'
394 'relshared',
394 'relshared',
395 'dotencode',
395 'dotencode',
396 'exp-sparse',
396 'exp-sparse',
397 'internal-phase'
397 }
398 }
398 openerreqs = {
399 openerreqs = {
399 'revlogv1',
400 'revlogv1',
@@ -2427,5 +2428,8 b' def newreporequirements(repo):'
2427 # generaldelta is implied by revlogv2.
2428 # generaldelta is implied by revlogv2.
2428 requirements.discard('generaldelta')
2429 requirements.discard('generaldelta')
2429 requirements.add(REVLOGV2_REQUIREMENT)
2430 requirements.add(REVLOGV2_REQUIREMENT)
2431 # experimental config: format.internal-phase
2432 if repo.ui.configbool('format', 'internal-phase'):
2433 requirements.add('internal-phase')
2430
2434
2431 return requirements
2435 return requirements
General Comments 0
You need to be logged in to leave comments. Login now