##// END OF EJS Templates
dirstate: remove the python-side whitelist of allowed matchers...
Arseniy Alekseyev -
r52519:865efc02 tip default
parent child Browse files
Show More
@@ -1639,16 +1639,6 b' class dirstate:'
1639 1639
1640 1640 use_rust = True
1641 1641
1642 allowed_matchers = (
1643 matchmod.alwaysmatcher,
1644 matchmod.differencematcher,
1645 matchmod.exactmatcher,
1646 matchmod.includematcher,
1647 matchmod.intersectionmatcher,
1648 matchmod.nevermatcher,
1649 matchmod.unionmatcher,
1650 )
1651
1652 1642 if rustmod is None:
1653 1643 use_rust = False
1654 1644 elif self._checkcase:
@@ -1656,9 +1646,6 b' class dirstate:'
1656 1646 use_rust = False
1657 1647 elif subrepos:
1658 1648 use_rust = False
1659 elif not isinstance(match, allowed_matchers):
1660 # Some matchers have yet to be implemented
1661 use_rust = False
1662 1649
1663 1650 # Get the time from the filesystem so we can disambiguate files that
1664 1651 # appear modified in the present or future.
General Comments 0
You need to be logged in to leave comments. Login now