fsmonitor: reapply
dd35abc409ee
The recent revendoring of pywatchman undid this bug fix.
Let's reapply it.
Differential Revision: https://phab.mercurial-scm.org/D7203
--- 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()