quark created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
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)
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D322
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
@@ -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()
To: quark, #hg-reviewers
Cc: mercurial-devel
_______________________________________________
Mercurial-devel mailing list
[email protected]
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel