# HG changeset patch # User Pierre-Yves David # Date 1675394346 -3600 # Node ID ba3add904ab4bda9cfa50adf5d9f0930c2282938 # Parent 8dc2724d03045fec71212c9ea54c11a3c7438a0a wrapfunction: use sysstr instead of bytes as argument in "fsmonitor" This is as valid and simpler, it will help us to eventually get ride of `safehasattr`. diff -r 8dc2724d0304 -r ba3add904ab4 hgext/fsmonitor/__init__.py --- a/hgext/fsmonitor/__init__.py Mon Jul 10 16:12:33 2023 +0200 +++ b/hgext/fsmonitor/__init__.py Fri Feb 03 04:19:06 2023 +0100 @@ -755,9 +755,9 @@ ) if pycompat.isdarwin: # An assist for avoiding the dangling-symlink fsevents bug - extensions.wrapfunction(os, b'symlink', wrapsymlink) + extensions.wrapfunction(os, 'symlink', wrapsymlink) - extensions.wrapfunction(merge, b'_update', wrapupdate) + extensions.wrapfunction(merge, '_update', wrapupdate) def wrapsymlink(orig, source, link_name):