Mercurial > hg
comparison tests/test-install.t @ 42652:684b56ade431
fsmonitor: add support for extra `hg debuginstall` data
This might make some things easier to debug, and for default bug
report templates it'll help collect more data from users all at
once. I don't actually need fsmonitor in our bug reports (we don't use
it), but this demonstrates the utility of the preceding patches
without having to add new things to core.
Differential Revision: https://phab.mercurial-scm.org/D6682
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 23 Jul 2019 15:01:28 -0400 |
parents | 65ed223619ec |
children | d6f34ceb08db |
comparison
equal
deleted
inserted
replaced
42651:7f1df7019497 | 42652:684b56ade431 |
---|---|
151 (specify a commit editor in your configuration file) | 151 (specify a commit editor in your configuration file) |
152 checking username (test) | 152 checking username (test) |
153 1 problems detected, please check your install! | 153 1 problems detected, please check your install! |
154 [1] | 154 [1] |
155 | 155 |
156 debuginstall extension support | |
157 $ hg debuginstall --config extensions.fsmonitor= --config fsmonitor.watchman_exe=false | grep atchman | |
158 fsmonitor checking for watchman binary... (false) | |
159 watchman binary missing or broken: warning: Watchman unavailable: watchman exited with code 1 | |
160 Verify the json works too: | |
161 $ hg debuginstall --config extensions.fsmonitor= --config fsmonitor.watchman_exe=false -Tjson | grep atchman | |
162 "fsmonitor-watchman": "false", | |
163 "fsmonitor-watchman-error": "warning: Watchman unavailable: watchman exited with code 1", | |
164 | |
165 | |
156 #if test-repo | 166 #if test-repo |
157 $ . "$TESTDIR/helpers-testrepo.sh" | 167 $ . "$TESTDIR/helpers-testrepo.sh" |
158 | 168 |
159 $ cat >> wixxml.py << EOF | 169 $ cat >> wixxml.py << EOF |
160 > import os | 170 > import os |