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

Alphare (Raphaël Gomès) phabricator at mercurial-scm.org
Fri Oct 18 07:08:27 EDT 2019


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

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



To: Alphare, #hg-reviewers
Cc: mjpieters, mercurial-devel


More information about the Mercurial-devel mailing list