changeset 40919:a0886a4d6dce

tests: remove all transitional configuration Now that sparse-revlog is enabled by default, we no longer needs it. Differential Revision: https://phab.mercurial-scm.org/D5346
author Boris Feld <boris.feld@octobus.net>
date Mon, 12 Nov 2018 02:21:52 +0100
parents 3764330f76a6
children 5014e93a5696
files tests/test-bundle.t tests/test-clone-uncompressed.t tests/test-clonebundles.t tests/test-debugcommands.t tests/test-hgweb-commands.t tests/test-http-protocol.t tests/test-init.t tests/test-lfconvert.t tests/test-lfs-largefiles.t tests/test-lfs-serve.t tests/test-narrow-clone-no-ellipsis.t tests/test-narrow-clone-stream.t tests/test-narrow-clone.t tests/test-phases.t tests/test-remotefilelog-clone-tree.t tests/test-remotefilelog-clone.t tests/test-remotefilelog-log.t tests/test-repo-compengines.t tests/test-revlog-v2.t tests/test-sparse-requirement.t tests/test-ssh-bundle1.t tests/test-ssh-proto-unbundle.t tests/test-ssh-proto.t tests/test-ssh.t tests/test-stream-bundle-v2.t tests/test-treemanifest.t tests/test-wireproto-caching.t tests/test-wireproto-command-capabilities.t tests/test-wireproto-content-redirects.t
diffstat 29 files changed, 0 insertions(+), 174 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bundle.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-bundle.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 Setting up test
 
   $ hg init test
--- a/tests/test-clone-uncompressed.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-clone-uncompressed.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require serve no-reposimplestore no-chg
 
 #testcases stream-legacy stream-bundle2
--- a/tests/test-clonebundles.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-clonebundles.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require no-reposimplestore no-chg
 
 Set up a server
--- a/tests/test-debugcommands.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-debugcommands.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
   $ cat << EOF >> $HGRCPATH
   > [ui]
   > interactive=yes
--- a/tests/test-hgweb-commands.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-hgweb-commands.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require serve
 
 An attempt at more fully testing the hgweb web interface.
--- a/tests/test-http-protocol.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-http-protocol.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require no-chg
 
   $ . $TESTDIR/wireprotohelpers.sh
--- a/tests/test-init.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-init.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 This test tries to exercise the ssh functionality with a dummy script
 
   $ checknewrepo()
--- a/tests/test-lfconvert.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-lfconvert.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
   $ USERCACHE="$TESTTMP/cache"; export USERCACHE
   $ mkdir "${USERCACHE}"
   $ cat >> $HGRCPATH <<EOF
--- a/tests/test-lfs-largefiles.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-lfs-largefiles.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require no-reposimplestore no-chg
 
 This tests the interaction between the largefiles and lfs extensions, and
--- a/tests/test-lfs-serve.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-lfs-serve.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #testcases lfsremote-on lfsremote-off
 #require serve no-reposimplestore no-chg
 
--- a/tests/test-narrow-clone-no-ellipsis.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-narrow-clone-no-ellipsis.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
   $ . "$TESTDIR/narrow-library.sh"
 
   $ hg init master
--- a/tests/test-narrow-clone-stream.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-narrow-clone-stream.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #testcases tree flat-fncache flat-nofncache
 
 Tests narrow stream clones
--- a/tests/test-narrow-clone.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-narrow-clone.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
   $ . "$TESTDIR/narrow-library.sh"
 
   $ hg init master
--- a/tests/test-phases.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-phases.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-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
--- a/tests/test-remotefilelog-clone-tree.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-remotefilelog-clone-tree.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require no-windows
 
   $ . "$TESTDIR/remotefilelog-library.sh"
--- a/tests/test-remotefilelog-clone.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-remotefilelog-clone.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require no-windows
 
   $ . "$TESTDIR/remotefilelog-library.sh"
--- a/tests/test-remotefilelog-log.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-remotefilelog-log.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require no-windows
 
   $ . "$TESTDIR/remotefilelog-library.sh"
--- a/tests/test-repo-compengines.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-repo-compengines.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 A new repository uses zlib storage, which doesn't need a requirement
 
   $ hg init default
--- a/tests/test-revlog-v2.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-revlog-v2.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require reporevlogstore
 
 A repo with unknown revlogv2 requirement string cannot be opened
--- a/tests/test-sparse-requirement.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-sparse-requirement.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
   $ hg init repo
   $ cd repo
 
--- a/tests/test-ssh-bundle1.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-ssh-bundle1.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 This test is a duplicate of 'test-http.t' feel free to factor out
 parts that are not bundle1/bundle2 specific.
 
--- a/tests/test-ssh-proto-unbundle.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-ssh-proto-unbundle.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
   $ cat > hgrc-sshv2 << EOF
   > %include $HGRCPATH
   > [experimental]
--- a/tests/test-ssh-proto.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-ssh-proto.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require no-chg
 
   $ cat > hgrc-sshv2 << EOF
--- a/tests/test-ssh.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-ssh.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #testcases sshv1 sshv2
 
 #if sshv2
--- a/tests/test-stream-bundle-v2.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-stream-bundle-v2.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require no-reposimplestore
 
 Test creating a consuming stream bundle v2
--- a/tests/test-treemanifest.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-treemanifest.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
   $ cat << EOF >> $HGRCPATH
   > [ui]
   > ssh="$PYTHON" "$TESTDIR/dummyssh"
--- a/tests/test-wireproto-caching.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-wireproto-caching.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
   $ . $TESTDIR/wireprotohelpers.sh
   $ cat >> $HGRCPATH << EOF
   > [extensions]
--- a/tests/test-wireproto-command-capabilities.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-wireproto-command-capabilities.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
 #require no-chg
 
   $ . $TESTDIR/wireprotohelpers.sh
--- a/tests/test-wireproto-content-redirects.t	Mon Nov 12 01:22:38 2018 +0100
+++ b/tests/test-wireproto-content-redirects.t	Mon Nov 12 02:21:52 2018 +0100
@@ -1,9 +1,3 @@
-TRANSITIONAL CONFIG
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > sparse-revlog = yes
-  > EOF
-
   $ . $TESTDIR/wireprotohelpers.sh
 
   $ cat >> $HGRCPATH << EOF