changeset 51700 | 7f0cb9ee0534 |
parent 51690 | 493034cc3265 |
child 51703 | ca7bde5dbafb |
--- a/hgext/fsmonitor/pywatchman/encoding.py Mon Jul 22 16:49:38 2024 +0200 +++ b/hgext/fsmonitor/pywatchman/encoding.py Tue Jul 23 10:02:46 2024 +0200 @@ -46,6 +46,7 @@ # 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