changeset 43391:ffdf0bf28212 stable

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 02 Nov 2019 13:30:23 -0700
parents 5fa8ac91190e
children 8a9e53b974ee
files hgext/fsmonitor/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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