mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
6678f088c8
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
11 lines
331 B
Perl
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]
|