# HG changeset patch # User Boris Feld # Date 2018-11-28 19:01:08 # Node ID 7bdc975314904c77def8f2cbd5a894c1c20ee780 # Parent 56fff6d7e30a88c2ba48c0c3cd32026a9e9b5ba0 test: enable sparse-revlog for test-phases.t We are about to enable sparse-revlog globally. To help with reviewing the tests change, we isolate them in individual changesets. Differential Revision: https://phab.mercurial-scm.org/D5328 diff --git a/tests/test-phases.t b/tests/test-phases.t --- a/tests/test-phases.t +++ b/tests/test-phases.t @@ -1,3 +1,9 @@ +TRANSITIONAL CONFIG + $ cat << EOF >> $HGRCPATH + > [format] + > sparse-revlog = yes + > EOF + $ cat > $TESTTMP/hook.sh << 'EOF' > echo "test-hook-close-phase: $HG_NODE: $HG_OLDPHASE -> $HG_PHASE" > EOF @@ -841,6 +847,7 @@ Check we deny its usage on older reposit fncache generaldelta revlogv1 + sparserevlog store $ echo X > X $ hg add X @@ -867,6 +874,7 @@ Check it works fine with repository that generaldelta internal-phase revlogv1 + sparserevlog store $ mkcommit A test-debug-phase: new rev 0: x -> 1