sapling/edenscm
Wez Furlong 83f00ab318 hg: restore spawning watchman on-demand
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
2019-01-29 15:49:37 -08:00
..
hgdemandimport codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
hgext hg: restore spawning watchman on-demand 2019-01-29 15:49:37 -08:00
mercurial fix some additional edenscm name changes 2019-01-29 12:26:10 -08:00
__init__.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
compat.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00