mercurial/dirstate.py
changeset 43281 6230c70a1863
parent 43280 5d4046594d6f
child 43463 37cbf45bb858
child 43477 ed50f2c31a4c
equal deleted inserted replaced
43280:5d4046594d6f 43281:6230c70a1863
    25     match as matchmod,
    25     match as matchmod,
    26     pathutil,
    26     pathutil,
    27     policy,
    27     policy,
    28     pycompat,
    28     pycompat,
    29     scmutil,
    29     scmutil,
    30     sparse,
       
    31     txnutil,
    30     txnutil,
    32     util,
    31     util,
    33 )
    32 )
    34 
    33 
    35 from .interfaces import (
    34 from .interfaces import (
  1113             # commands that need ignore.
  1112             # commands that need ignore.
  1114             use_rust = False
  1113             use_rust = False
  1115         elif not match.always():
  1114         elif not match.always():
  1116             # Matchers have yet to be implemented
  1115             # Matchers have yet to be implemented
  1117             use_rust = False
  1116             use_rust = False
  1118         # We don't yet have a mechanism for extensions
       
  1119         elif sparse.enabled:
       
  1120             use_rust = False
       
  1121         elif not getattr(self, "_fsmonitordisable", True):
       
  1122             use_rust = False
       
  1123 
  1117 
  1124         if use_rust:
  1118         if use_rust:
  1125             (
  1119             (
  1126                 lookup,
  1120                 lookup,
  1127                 modified,
  1121                 modified,