mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
A Scalable, User-Friendly Source Control System.
7e4154021c
Summary: provide sockpath in the config, rather than calling `watchman get-sockname` command from python. the config variable was already deployed on all mac this improves hg st by 250-300 ms (the logic gives more priority when env var if specified (the env var override is usually used for testing)) the logic has a retry mechanism if we can't connect to the socket path specified in the config next step: deploy config on dev servers (but we will have only few ms speed up there) we use %i (i for identity) notation for user [298] → hg conf | grep sockpath fsmonitor.sockpath=/opt/facebook/watchman/var/run/watchman/%i-state/sock Reviewed By: farnz Differential Revision: D8549130 fbshipit-source-id: 31df9ebf3eb5133d3e6f64794022cda1b0fadec4 |
||
---|---|---|
.cargo | ||
contrib | ||
distutils_rust | ||
doc | ||
exec/scm_daemon | ||
hgdemandimport | ||
hgext | ||
hgext3rd | ||
i18n | ||
lib | ||
mercurial | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.hg-vendored-crates | ||
.hgsigs | ||
.jshintrc | ||
.watchmanconfig | ||
CONTRIBUTING | ||
CONTRIBUTORS | ||
COPYING | ||
hg | ||
hgeditor | ||
hgweb.cgi | ||
Makefile | ||
README.rst | ||
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.