D7203: fsmonitor: reapply dd35abc409ee

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Mon Nov 4 11:26:53 EST 2019


Closed by commit rHG9eed959cd8ae: fsmonitor: reapply dd35abc409ee (authored by indygreg).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7203?vs=17501&id=17518

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7203/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7203

AFFECTED FILES
  hgext/fsmonitor/pywatchman/__init__.py

CHANGE DETAILS

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 @@
             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()



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list