mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
83f00ab318
Summary: A while back, as a startup optimization, we started to hard code the path to the watchman socket in the mercurial config. This meant that we could avoid running a subprocess for every command. Today, a chef configuration change was rolled out that caused watchman to be stopped on all of the corpnet macs with the result being that all mercurial commands are slow because it never uses and never restarts watchman. This diff adds some fallback logic to allow spawning the server in the case that we have a connection error. Reviewed By: DurhamG Differential Revision: D13855696 fbshipit-source-id: 44c0ad36b6e80520912e42bcea9e04f4f165b588 |
||
---|---|---|
.. | ||
hgdemandimport | ||
hgext | ||
mercurial | ||
__init__.py | ||
compat.py |