changeset 43387:9eed959cd8ae stable

fsmonitor: reapply dd35abc409ee The recent revendoring of pywatchman undid this bug fix. Let's reapply it. Differential Revision: https://phab.mercurial-scm.org/D7203
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 02 Nov 2019 12:52:58 -0700
parents 2247bf3cec76
children 51316de92ad0
files hgext/fsmonitor/pywatchman/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()