sapling/eden/scm/tests/test-serve.t
Durham Goode 6678f088c8 hgweb: disable hgweb
Summary:
Disables 'hg serve' being able to start a web server. This can be
worked around temporarily by setting web.allowhgweb=True, but we should remove
that workaround soon so we can deleted all the code.

Reviewed By: xavierd

Differential Revision: D20951800

fbshipit-source-id: e0d5017647a073b5ede3b0bbc4dd745fabeac816
2020-04-10 10:59:51 -07:00

11 lines
331 B
Perl

#chg-compatible
#require serve
$ hg init test
$ cd test
$ hg serve -a localhost -p 0 --port-file $TESTTMP/.port -d --pid-file=hg.pid -E errors.log
abort: hgweb is deprecated and services should stop using it
(set `--config web.allowhgweb=True` to bypass the block temporarily, but this will be going away soon)
[255]