changeset 34647 | dacfcdd8b94e |
parent 34580 | 7259f0ddfc0f |
child 34885 | df2ff314e36f |
--- a/hgext/fsmonitor/__init__.py Thu Oct 12 09:04:22 2017 -0700 +++ b/hgext/fsmonitor/__init__.py Thu Oct 12 23:34:34 2017 -0700 @@ -603,7 +603,7 @@ def extsetup(ui): extensions.wrapfilecache( localrepo.localrepository, 'dirstate', wrapdirstate) - if pycompat.sysplatform == 'darwin': + if pycompat.isdarwin: # An assist for avoiding the dangling-symlink fsevents bug extensions.wrapfunction(os, 'symlink', wrapsymlink)