Show More
@@ -1107,11 +1107,14 b' class dirstate(object):' | |||
|
1107 | 1107 | dmap.preload() |
|
1108 | 1108 | |
|
1109 | 1109 | use_rust = True |
|
1110 | ||
|
1111 | allowed_matchers = (matchmod.alwaysmatcher, matchmod.exactmatcher) | |
|
1112 | ||
|
1110 | 1113 | if rustmod is None: |
|
1111 | 1114 | use_rust = False |
|
1112 | 1115 | elif subrepos: |
|
1113 | 1116 | use_rust = False |
|
1114 | if bool(listunknown): | |
|
1117 | elif bool(listunknown): | |
|
1115 | 1118 | # Pathauditor does not exist yet in Rust, unknown files |
|
1116 | 1119 | # can't be trusted. |
|
1117 | 1120 | use_rust = False |
@@ -1119,7 +1122,7 b' class dirstate(object):' | |||
|
1119 | 1122 | # Rust has no ignore mechanism yet, so don't use Rust for |
|
1120 | 1123 | # commands that need ignore. |
|
1121 | 1124 | use_rust = False |
|
1122 |
elif not match |
|
|
1125 | elif not isinstance(match, allowed_matchers): | |
|
1123 | 1126 | # Matchers have yet to be implemented |
|
1124 | 1127 | use_rust = False |
|
1125 | 1128 | |
@@ -1147,6 +1150,7 b' class dirstate(object):' | |||
|
1147 | 1150 | clean, |
|
1148 | 1151 | ) = rustmod.status( |
|
1149 | 1152 | dmap._rustmap, |
|
1153 | match, | |
|
1150 | 1154 | self._rootdir, |
|
1151 | 1155 | bool(listclean), |
|
1152 | 1156 | self._lastnormaltime, |
General Comments 0
You need to be logged in to leave comments.
Login now