diff tests/test-hgweb-symrev.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 273ce823ba5c
children 5faaa31a6082
line wrap: on
line diff
--- a/tests/test-hgweb-symrev.t	Sat Apr 21 17:31:03 2018 +0900
+++ b/tests/test-hgweb-symrev.t	Mon May 14 12:38:05 2018 +0200
@@ -30,7 +30,7 @@
   |
   o  0:43c799df6e75
   
-  $ hg serve --config web.allow_archive=zip -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
+  $ hg serve --config web.allow-archive=zip -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
   $ cat hg.pid >> $DAEMON_PIDS
 
   $ REVLINKS='href=[^>]+(rev=|/)(43c799df6e75|0|a7c1559b7bba|1|xyzzy|9d8c40cba617|2|tip|default)'