# HG changeset patch # User Gregory Szorc # Date 2019-11-02 19:52:58 # Node ID 9eed959cd8ae15e0570043a68f91e0db4b26d518 # Parent 2247bf3cec7618d9d2dc865f9aa1f7778e66943e fsmonitor: reapply dd35abc409ee The recent revendoring of pywatchman undid this bug fix. Let's reapply it. Differential Revision: https://phab.mercurial-scm.org/D7203 diff --git a/hgext/fsmonitor/pywatchman/__init__.py b/hgext/fsmonitor/pywatchman/__init__.py --- a/hgext/fsmonitor/pywatchman/__init__.py +++ b/hgext/fsmonitor/pywatchman/__init__.py @@ -996,7 +996,7 @@ class client(object): p = subprocess.Popen(cmd, **args) except OSError as e: - raise WatchmanError('"watchman" executable not in PATH (%s)', e) + raise WatchmanError('"watchman" executable not in PATH (%s)' % e) stdout, stderr = p.communicate() exitcode = p.poll()