Mercurial > public > mercurial-scm > hg
diff tests/test-archive.t @ 38215:f715faeaceee
config: rename allow_archive to allow-archive
As part of ConfigConsolidationPlan [1], rename the option according to
the new UI guidelines [2] and add an alias for backward compatibility.
[1]: https://www.mercurial-scm.org/wiki/ConfigConsolidationPlan
[2]: https://www.mercurial-scm.org/wiki/UIGuideline#adding_new_options
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 14 May 2018 12:38:05 +0200 |
parents | 5890e5872f36 |
children | 5abc47d4ca6b |
line wrap: on
line diff
--- a/tests/test-archive.t Sat Apr 21 17:31:03 2018 +0900 +++ b/tests/test-archive.t Mon May 14 12:38:05 2018 +0200 @@ -94,7 +94,7 @@ $ echo "archivesubrepos = True" >> .hg/hgrc $ cp .hg/hgrc .hg/hgrc-base > test_archtype() { - > echo "allow_archive = $1" >> .hg/hgrc + > echo "allow-archive = $1" >> .hg/hgrc > test_archtype_run "$@" > } > test_archtype_deprecated() { @@ -293,7 +293,7 @@ body: size=1451, sha1=4c5cf0f574446c44feb7f88f4e0e2a56bd92c352 - $ echo "allow_archive = gz bz2 zip" >> .hg/hgrc + $ echo "allow-archive = gz bz2 zip" >> .hg/hgrc $ hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log $ cat hg.pid >> $DAEMON_PIDS