From patchwork Fri Oct 18 11:08:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D7128: rust-dirstate-status: use fast-path even with fsmonitor and sparse extensions From: phabricator X-Patchwork-Id: 42472 Message-Id: <6b593ec1f7ed67eb7455b451c47dd4f4@localhost.localdomain> To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Fri, 18 Oct 2019 11:08:27 +0000 Closed by commit rHG93827664a7d7: rust-dirstate-status: use fast-path even with fsmonitor and sparse extensions (authored by Alphare). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7128?vs=17327&id=17338 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7128/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7128 AFFECTED FILES mercurial/dirstate.py CHANGE DETAILS To: Alphare, #hg-reviewers Cc: mjpieters, mercurial-devel diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -1115,11 +1115,6 @@ elif not match.always(): # Matchers have yet to be implemented use_rust = False - # We don't yet have a mechanism for extensions - elif sparse.enabled: - use_rust = False - elif not getattr(self, "_fsmonitordisable", True): - use_rust = False if use_rust: (