comparison mercurial/dirstate.py @ 47350:04d1f17f49e7

dirstate-v2: Write .hg/dirstate back to disk on directory cache changes Differential Revision: https://phab.mercurial-scm.org/D10827
author Simon Sapin <simon.sapin@octobus.net>
date Mon, 31 May 2021 18:35:44 +0200
parents a43d256c041a
children 3b9914b28133
comparison
equal deleted inserted replaced
47349:7138c863d0a1 47350:04d1f17f49e7
1135 ignored, 1135 ignored,
1136 unknown, 1136 unknown,
1137 warnings, 1137 warnings,
1138 bad, 1138 bad,
1139 traversed, 1139 traversed,
1140 dirty,
1140 ) = rustmod.status( 1141 ) = rustmod.status(
1141 self._map._rustmap, 1142 self._map._rustmap,
1142 matcher, 1143 matcher,
1143 self._rootdir, 1144 self._rootdir,
1144 self._ignorefiles(), 1145 self._ignorefiles(),
1147 bool(list_clean), 1148 bool(list_clean),
1148 bool(list_ignored), 1149 bool(list_ignored),
1149 bool(list_unknown), 1150 bool(list_unknown),
1150 bool(matcher.traversedir), 1151 bool(matcher.traversedir),
1151 ) 1152 )
1153
1154 self._dirty |= dirty
1152 1155
1153 if matcher.traversedir: 1156 if matcher.traversedir:
1154 for dir in traversed: 1157 for dir in traversed:
1155 matcher.traversedir(dir) 1158 matcher.traversedir(dir)
1156 1159