# HG changeset patch # User Gregory Szorc # Date 1572724378 25200 # 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 -r 2247bf3cec76 -r 9eed959cd8ae hgext/fsmonitor/pywatchman/__init__.py --- a/hgext/fsmonitor/pywatchman/__init__.py Sat Nov 02 12:51:28 2019 -0700 +++ b/hgext/fsmonitor/pywatchman/__init__.py Sat Nov 02 12:52:58 2019 -0700 @@ -996,7 +996,7 @@ 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()