This new config knob allows to silent watchman log and warning messages when
watchman is unavailable.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG18adb747a332: watchman: add verbose config knob
rHG158962bf4a52: watchman: add verbose config knob
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
This new config knob defaults to off and we're therefore changing the behavior to not warn when watchman is unavailable. This is a bit concerning to me because someone could have fsmonitor enabled and I don't think they'd ever get an error if watchman isn't working correctly.
I support introducing the config knob. But I don't like silently suppressing watchman errors that could lead to false user expectations.
Is my understanding here correct?
(I would accept a patch that defaults the config option to on. I will continue reviewing this series.)
Comment Actions
I on +1 with what @indygreg said. These warning messages have proved much helpful for us internally.