Mercurial > hg
changeset 41969:76361969662a
watchman: ignore some of watchman errors
Don't display 'illegal_fstypes' errors. In environments with network
filesystems, the error messages are quickly pilling up and polluting outputs.
Differential Revision: https://phab.mercurial-scm.org/D5955
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 21 Dec 2018 17:12:39 +0100 |
parents | 57264906a996 |
children | 51ba9fbcca52 |
files | hgext/fsmonitor/__init__.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/fsmonitor/__init__.py Fri Dec 21 17:10:54 2018 +0100 +++ b/hgext/fsmonitor/__init__.py Fri Dec 21 17:12:39 2018 +0100 @@ -180,7 +180,8 @@ if isinstance(ex, watchmanclient.Unavailable): # experimental config: fsmonitor.verbose if ex.warn and ui.configbool('fsmonitor', 'verbose'): - ui.warn(str(ex) + '\n') + if 'illegal_fstypes' not in str(ex): + ui.warn(str(ex) + '\n') if ex.invalidate: state.invalidate() # experimental config: fsmonitor.verbose