fsmonitor: access repo.root stable
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 02 Nov 2019 13:30:23 -0700
branchstable
changeset 43391 ffdf0bf28212
parent 43390 5fa8ac91190e
child 43392 8a9e53b974ee
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
hgext/fsmonitor/__init__.py
--- 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