##// END OF EJS Templates
phase: rename the requirement for internal-phase (BC)...
marmoute -
r50347:74fb1842 default
parent child Browse files
Show More
@@ -1425,9 +1425,12 b' coreconfigitem('
1425 1425 default=False,
1426 1426 experimental=True,
1427 1427 )
1428
1429 # Moving this on by default means we are confident about the scaling of phases.
1430 # This is not garanteed to be the case at the time this message is written.
1428 1431 coreconfigitem(
1429 1432 b'format',
1430 b'internal-phase',
1433 b'use-internal-phase',
1431 1434 default=False,
1432 1435 experimental=True,
1433 1436 )
@@ -3662,7 +3662,7 b' def newreporequirements(ui, createopts):'
3662 3662 requirements.discard(requirementsmod.REVLOGV1_REQUIREMENT)
3663 3663 requirements.add(requirementsmod.REVLOGV2_REQUIREMENT)
3664 3664 # experimental config: format.internal-phase
3665 if ui.configbool(b'format', b'internal-phase'):
3665 if ui.configbool(b'format', b'use-internal-phase'):
3666 3666 requirements.add(requirementsmod.INTERNAL_PHASE_REQUIREMENT)
3667 3667
3668 3668 # experimental config: format.exp-archived-phase
@@ -29,7 +29,7 b" SPARSE_REQUIREMENT = b'exp-sparse'"
29 29
30 30 # Enables the internal phase which is used to hide changesets instead
31 31 # of stripping them
32 INTERNAL_PHASE_REQUIREMENT = b'internal-phase'
32 INTERNAL_PHASE_REQUIREMENT = b'internal-phase-2'
33 33
34 34 # Enables the internal phase which is used to hide changesets instead
35 35 # of stripping them
@@ -879,7 +879,7 b' Test for the "internal" phase'
879 879
880 880 Check we deny its usage on older repository
881 881
882 $ hg init no-internal-phase --config format.internal-phase=no
882 $ hg init no-internal-phase --config format.use-internal-phase=no
883 883 $ cd no-internal-phase
884 884 $ hg debugrequires | grep internal-phase
885 885 [1]
@@ -900,10 +900,10 b' Check we deny its usage on older reposit'
900 900
901 901 Check it works fine with repository that supports it.
902 902
903 $ hg init internal-phase --config format.internal-phase=yes
903 $ hg init internal-phase --config format.use-internal-phase=yes
904 904 $ cd internal-phase
905 905 $ hg debugrequires | grep internal-phase
906 internal-phase
906 internal-phase-2
907 907 $ mkcommit A
908 908 test-debug-phase: new rev 0: x -> 1
909 909 test-hook-close-phase: 4a2df7238c3b48766b5e22fafbb8a2f506ec8256: -> draft
@@ -14,7 +14,7 b''
14 14
15 15 $ cat <<EOF >> $HGRCPATH
16 16 > [format]
17 > internal-phase = yes
17 > use-internal-phase = yes
18 18 > EOF
19 19
20 20 #endif
@@ -16,7 +16,7 b''
16 16
17 17 $ cat <<EOF >> $HGRCPATH
18 18 > [format]
19 > internal-phase = yes
19 > use-internal-phase = yes
20 20 > EOF
21 21
22 22 #endif
General Comments 0
You need to be logged in to leave comments. Login now