# HG changeset patch # User Boris Feld # Date 1545408759 -3600 # Node ID 76361969662abe5d079932878bad6f89ba0a6d46 # Parent 57264906a9962dc6677fa4cc613beb33f8f212d7 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 diff -r 57264906a996 -r 76361969662a hgext/fsmonitor/__init__.py --- 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