sapling/eden/scm
Liubov Dmitrieva 7a7e8c0d57 skip logging of bad requests for health checks
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
2023-03-02 00:11:20 -08:00
..
contrib Add completion for sapling (#369) 2023-02-17 12:13:32 -08:00
distutils_rust distutils_rust: drop HOMEBREW_CCCFG env 2022-12-01 12:30:00 -08:00
doc collapse edenscm.mercurial package into edenscm 2022-08-24 13:45:53 -07:00
edenscm remove unused param 2023-03-02 00:11:10 -08:00
edenscmnative third-party/rust: remove memmap and migrate to memmap2 2023-02-23 09:28:19 -08:00
exec fix error handling in tcp reciever introduced by D43153574 2023-02-27 12:20:41 -08:00
ghstack chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
hgcache_size_logger Build for aarch64 in addition to x86_64 2022-08-03 07:09:58 -07:00
i18n docs: clarify help for "-I" and "-X" flags 2022-11-13 23:38:55 -08:00
lib skip logging of bad requests for health checks 2023-03-02 00:11:20 -08:00
newdoc newdoc: remove outdated content 2022-12-01 14:33:34 -08:00
packaging ci: bump homebrew release dependencies (#540) 2023-02-27 17:28:12 -08:00
pystubs upgrade pyre version in fbcode/eden - batch 1 2023-02-06 11:55:20 -08:00
slides collapse edenscm.mercurial package into edenscm 2022-08-24 13:45:53 -07:00
tests runtests: do not show # ignored not retesting 2023-03-01 20:06:45 -08:00
.editorconfig
.flake8 rebase: do not rebase public commits with -b flag 2022-12-20 13:51:43 -08:00
.gitignore git: respect 'default-push' path if present (#469) 2023-02-17 12:04:00 -08:00
.rustfmt.toml rustfmt: set group_imports to StdExternalCrate 2021-10-19 11:07:24 -07:00
Cargo.toml Unfork deltae 2023-02-22 08:50:27 -08:00
COPYING Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
fsprobe.sh codemod: update license headers 2022-01-05 14:43:32 -08:00
gen_version.py Add annotations to eden 2022-02-14 12:17:43 -08:00
hgeditor Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
Makefile Remove Cargo.lock on make clean (#534) 2023-02-23 11:19:12 -08:00
README.md migrate README.rst to README.md 2022-07-20 09:19:09 -07:00
setup.py Fedora rpm changes (#451) 2023-02-17 12:04:00 -08:00

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.