Mercurial > hg
diff hgext/fsmonitor/__init__.py @ 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 | bdebc7b54dca |
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