fsmonitor: access repo.root
There is no repo._root. It looks like fsmonitor has
been busted since this access was introduced in
ab1900323b1 in July 2019!
Differential Revision: https://phab.mercurial-scm.org/D7207
--- a/hgext/fsmonitor/__init__.py Sat Nov 02 13:08:20 2019 -0700
+++ b/hgext/fsmonitor/__init__.py Sat Nov 02 13:30:23 2019 -0700
@@ -927,7 +927,7 @@
return
try:
- client = watchmanclient.client(repo.ui, repo._root)
+ client = watchmanclient.client(repo.ui, repo.root)
except Exception as ex:
_handleunavailable(ui, fsmonitorstate, ex)
return