Patchwork D322: fsmonitor: correct an error message

login
register
mail settings
Submitter phabricator
Date Aug. 11, 2017, 6:52 p.m.
Message ID <609d82de06d5b00e72376728b6f7c593@localhost.localdomain>
Download mbox | patch
Permalink /patch/22895/
State Not Applicable
Headers show

Comments

phabricator - Aug. 11, 2017, 6:52 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGdd35abc409ee: fsmonitor: correct an error message (authored by quark).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D322?vs=738&id=796

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

AFFECTED FILES
  hgext/fsmonitor/pywatchman/__init__.py

CHANGE DETAILS




To: quark, #hg-reviewers, lothiraldan
Cc: lothiraldan, mercurial-devel

Patch

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
@@ -825,7 +825,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()