Mercurial > hg-stable
changeset 33790:dd35abc409ee
fsmonitor: correct an error message
Without the change, the error looks like:
warning: Watchman unavailable: "watchman" executable not in PATH (%s),
while executing [Errno 2] No such file or directory
With the change, it now looks like:
warning: Watchman unavailable: "watchman" executable not in PATH
([Errno 2] No such file or directory)
Differential Revision: https://phab.mercurial-scm.org/D322
author | Jun Wu <quark@fb.com> |
---|---|
date | Thu, 10 Aug 2017 09:37:50 -0700 |
parents | 82d564d5ac4f |
children | 119e1c6be1ce |
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 Thu Aug 10 20:55:28 2017 -0700 +++ b/hgext/fsmonitor/pywatchman/__init__.py Thu Aug 10 09:37:50 2017 -0700 @@ -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()