Patchwork D7128: rust-dirstate-status: use fast-path even with fsmonitor and sparse extensions

login
register
mail settings
Submitter phabricator
Date Oct. 18, 2019, 11:08 a.m.
Message ID <6b593ec1f7ed67eb7455b451c47dd4f4@localhost.localdomain>
Download mbox | patch
Permalink /patch/42472/
State Not Applicable
Headers show

Comments

phabricator - Oct. 18, 2019, 11:08 a.m.
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

Patch

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:
             (