mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
7a7e8c0d57
Summary: skip logging as "bad" requests for health checks health checks are currently implemented like simple connections to the port: ``` def _test_service_is_running(ui): port = ui.configint("commitcloud", "scm_daemon_tcp_port") s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) if s.connect_ex(("127.0.0.1", port)): _warn_service_not_running(ui) s.close() ``` so, skipping errors coming from json parsing for those type of checks todo: implement a proper health_check request which can be part of migration to json rpc Reviewed By: quark-zju Differential Revision: D43693235 fbshipit-source-id: 689cd3368c665fefd61a86d1125dc8d2aba1354d |
||
---|---|---|
.. | ||
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
edenscmnative | ||
exec | ||
ghstack | ||
hgcache_size_logger | ||
i18n | ||
lib | ||
newdoc | ||
packaging | ||
pystubs | ||
slides | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.rustfmt.toml | ||
Cargo.toml | ||
COPYING | ||
fsprobe.sh | ||
gen_version.py | ||
hgeditor | ||
Makefile | ||
README.md | ||
setup.py |
Mercurial
Mercurial is a fast, easy to use, distributed revision control tool for software developers.
Basic install:
$ make # see install targets
$ make install # do a system-wide install
$ hg debuginstall # sanity-check setup
$ hg # see help
Running without installing:
$ make local # build for inplace usage
$ ./hg --version # should show the latest version
See https://mercurial-scm.org/ for detailed installation instructions, platform-specific notes, and Mercurial user information.