diff -r 39e2b2d062c1 -r 493034cc3265 hgext/fsmonitor/pywatchman/encoding.py --- a/hgext/fsmonitor/pywatchman/encoding.py Thu Jul 18 12:03:29 2024 +0200 +++ b/hgext/fsmonitor/pywatchman/encoding.py Thu Jul 18 12:36:12 2024 +0200 @@ -46,7 +46,6 @@ # returns None. return sys.getfilesystemencoding() - else: # Python 2 doesn't support surrogateescape, so use 'strict' by # default. Users can register a custom surrogateescape error handler and use