comparison 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
comparison
equal deleted inserted replaced
38214:2aa0217bb655 38215:f715faeaceee
28 | 28 |
29 o 1:a7c1559b7bba xyzzy 29 o 1:a7c1559b7bba xyzzy
30 | 30 |
31 o 0:43c799df6e75 31 o 0:43c799df6e75
32 32
33 $ hg serve --config web.allow_archive=zip -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log 33 $ hg serve --config web.allow-archive=zip -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
34 $ cat hg.pid >> $DAEMON_PIDS 34 $ cat hg.pid >> $DAEMON_PIDS
35 35
36 $ REVLINKS='href=[^>]+(rev=|/)(43c799df6e75|0|a7c1559b7bba|1|xyzzy|9d8c40cba617|2|tip|default)' 36 $ REVLINKS='href=[^>]+(rev=|/)(43c799df6e75|0|a7c1559b7bba|1|xyzzy|9d8c40cba617|2|tip|default)'
37 37
38 (De)referencing symbolic revisions (paper) 38 (De)referencing symbolic revisions (paper)