tests: remove superfluous config setting
authorGregory Szorc <gregory.szorc@gmail.com>
Tue, 03 Apr 2018 18:20:10 -0700
changeset 37330 db06c4bb2158
parent 37329 676664592313
child 37331 c68262401c8c
tests: remove superfluous config setting format.usegeneraldelta defaults to true. Differential Revision: https://phab.mercurial-scm.org/D3057
tests/test-bundle-type.t
tests/test-bundle.t
tests/test-clonebundles.t
tests/test-commit-amend.t
tests/test-copy.t
tests/test-debugcommands.t
tests/test-hgweb-commands.t
tests/test-init.t
tests/test-lfconvert.t
tests/test-patchbomb.t
tests/test-rebase-conflicts.t
tests/test-rebase-mq-skip.t
tests/test-rebase-newancestor.t
tests/test-ssh-bundle1.t
tests/test-ssh.t
tests/test-strip.t
tests/test-treemanifest.t
--- a/tests/test-bundle-type.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-bundle-type.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,9 +1,3 @@
-
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > usegeneraldelta=yes
-  > EOF
-
 bundle w/o type option
 
   $ hg init t1
--- a/tests/test-bundle.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-bundle.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,9 +1,3 @@
-
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > usegeneraldelta=yes
-  > EOF
-
 Setting up test
 
   $ hg init test
--- a/tests/test-clonebundles.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-clonebundles.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,9 +1,5 @@
 Set up a server
 
-  $ cat >> $HGRCPATH << EOF
-  > [format]
-  > usegeneraldelta=yes
-  > EOF
   $ hg init server
   $ cd server
   $ cat >> .hg/hgrc << EOF
--- a/tests/test-commit-amend.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-commit-amend.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,8 +1,3 @@
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > usegeneraldelta=yes
-  > EOF
-
   $ hg init
 
 Setup:
--- a/tests/test-copy.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-copy.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,10 +1,3 @@
-# enable bundle2 in advance
-
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > usegeneraldelta=yes
-  > EOF
-
   $ mkdir part1
   $ cd part1
 
--- a/tests/test-debugcommands.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-debugcommands.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,8 +1,6 @@
   $ cat << EOF >> $HGRCPATH
   > [ui]
   > interactive=yes
-  > [format]
-  > usegeneraldelta=yes
   > EOF
 
   $ hg init debugrevlog
--- a/tests/test-hgweb-commands.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-hgweb-commands.t	Tue Apr 03 18:20:10 2018 -0700
@@ -6,11 +6,6 @@
 - unbundle, tested in test-push-http
 - changegroupsubset, tested in test-pull
 
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > usegeneraldelta=yes
-  > EOF
-
 Set up the repo
 
   $ hg init test
--- a/tests/test-init.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-init.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,12 +1,5 @@
 This test tries to exercise the ssh functionality with a dummy script
 
-(enable general delta early)
-
-  $ cat << EOF >> $HGRCPATH
-  > [format]
-  > usegeneraldelta=yes
-  > EOF
-
   $ checknewrepo()
   > {
   >    name=$1
--- a/tests/test-lfconvert.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-lfconvert.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,8 +1,6 @@
   $ USERCACHE="$TESTTMP/cache"; export USERCACHE
   $ mkdir "${USERCACHE}"
   $ cat >> $HGRCPATH <<EOF
-  > [format]
-  > usegeneraldelta=yes
   > [extensions]
   > largefiles =
   > share =
--- a/tests/test-patchbomb.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-patchbomb.t	Tue Apr 03 18:20:10 2018 -0700
@@ -24,8 +24,6 @@
   >     print(l, end='')
   > EOF
   $ FILTERBOUNDARY="$PYTHON `pwd`/prune-blank-after-boundary.py"
-  $ echo "[format]" >> $HGRCPATH
-  $ echo "usegeneraldelta=yes" >> $HGRCPATH
   $ echo "[extensions]" >> $HGRCPATH
   $ echo "patchbomb=" >> $HGRCPATH
 
--- a/tests/test-rebase-conflicts.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-rebase-conflicts.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,6 +1,4 @@
   $ cat >> $HGRCPATH <<EOF
-  > [format]
-  > usegeneraldelta=yes
   > [extensions]
   > rebase=
   > drawdag=$TESTDIR/drawdag.py
--- a/tests/test-rebase-mq-skip.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-rebase-mq-skip.t	Tue Apr 03 18:20:10 2018 -0700
@@ -2,8 +2,6 @@
 already has one local mq patch
 
   $ cat >> $HGRCPATH <<EOF
-  > [format]
-  > usegeneraldelta=yes
   > [extensions]
   > rebase=
   > mq=
--- a/tests/test-rebase-newancestor.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-rebase-newancestor.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,6 +1,4 @@
   $ cat >> $HGRCPATH <<EOF
-  > [format]
-  > usegeneraldelta=yes
   > [extensions]
   > rebase=
   > drawdag=$TESTDIR/drawdag.py
--- a/tests/test-ssh-bundle1.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-ssh-bundle1.t	Tue Apr 03 18:20:10 2018 -0700
@@ -15,8 +15,6 @@
   > [devel]
   > # This test is dedicated to interaction through old bundle
   > legacy.exchange = bundle1
-  > [format] # temporary settings
-  > usegeneraldelta=yes
   > EOF
 
 
--- a/tests/test-ssh.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-ssh.t	Tue Apr 03 18:20:10 2018 -0700
@@ -10,11 +10,6 @@
 
 This test tries to exercise the ssh functionality with a dummy script
 
-  $ cat <<EOF >> $HGRCPATH
-  > [format]
-  > usegeneraldelta=yes
-  > EOF
-
 creating 'remote' repo
 
   $ hg init remote
--- a/tests/test-strip.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-strip.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,5 +1,3 @@
-  $ echo "[format]" >> $HGRCPATH
-  $ echo "usegeneraldelta=yes" >> $HGRCPATH
   $ echo "[extensions]" >> $HGRCPATH
   $ echo "strip=" >> $HGRCPATH
   $ echo "drawdag=$TESTDIR/drawdag.py" >> $HGRCPATH
--- a/tests/test-treemanifest.t	Sat Mar 17 22:30:25 2018 +0900
+++ b/tests/test-treemanifest.t	Tue Apr 03 18:20:10 2018 -0700
@@ -1,8 +1,6 @@
 #require killdaemons
 
   $ cat << EOF >> $HGRCPATH
-  > [format]
-  > usegeneraldelta=yes
   > [ui]
   > ssh=$PYTHON "$TESTDIR/dummyssh"
   > EOF