comparison tests/test-tutorial.t @ 5816:a1dad44fe3da

tests: remove some unnecessary config Some of these tests were originally split from a single file that had (and used) these options, and some of the tests were later created by just mindlessly copypasting the same set of options that aren't applicable to the newly written tests. Things removed by this patch: - web section from tests that don't use hg serve and don't push - phases.publish from tests that don't exchange changesets between repos - diff section from tests that don't have any diffs - defaults section that sets the date The defaults section that only adds -d '0 0' to commands should no longer be necessary because run-tests.py sets devel.default-date='0 0' since 4.3, and all command in evolve should respect this config option.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 03 Mar 2021 10:57:09 +0800
parents 5113b38cb677
children be8f7eb3f3a0 053ce6e0b3b7
comparison
equal deleted inserted replaced
5815:44dd0e2a28bf 5816:a1dad44fe3da
11 > # This is change the default output of log for clear tutorial 11 > # This is change the default output of log for clear tutorial
12 > logtemplate ="{node|short} ({phase}): {desc}\n" 12 > logtemplate ="{node|short} ({phase}): {desc}\n"
13 > [diff] 13 > [diff]
14 > # use "git" diff format, clearer and smarter format 14 > # use "git" diff format, clearer and smarter format
15 > git = 1 15 > git = 1
16 > [alias]
17 > # "-d '0 0'" means that the new commit will be at January 1st 1970.
18 > # This is used for stable hash during test
19 > # (this tutorial is automatically tested.)
20 > amend = amend -d '0 0'
21 > EOF 16 > EOF
22 17
23 $ hg init local 18 $ hg init local
24 $ cat >> local/.hg/hgrc << EOF 19 $ cat >> local/.hg/hgrc << EOF
25 > [paths] 20 > [paths]