##// END OF EJS Templates
store: use StoreEntry API instead of parsing filename in remotefilelog...
marmoute -
r51378:5805b8b2 default
parent child Browse files
Show More
@@ -173,19 +173,18 b' def onetimesetup(ui):'
173 173
174 174 if scmutil.istreemanifest(repo):
175 175 for entry in repo.store.datafiles():
176 u = entry.unencoded_path
177 if u.startswith(b'meta/') and (
178 u.endswith(b'.i') or u.endswith(b'.d')
179 ):
176 if not entry.is_revlog:
177 continue
178 if entry.revlog_type == store.FILEFLAGS_MANIFESTLOG:
180 179 yield entry
181 180
182 181 # Return .d and .i files that do not match the shallow pattern
183 182 match = state.match
184 183 if match and not match.always():
185 184 for entry in repo.store.datafiles():
186 u = entry.unencoded_path
187 f = u[5:-2] # trim data/... and .i/.d
188 if not state.match(f):
185 if not entry.is_revlog:
186 continue
187 if not state.match(entry.target_id):
189 188 yield entry
190 189
191 190 for x in repo.store.topfiles():
General Comments 0
You need to be logged in to leave comments. Login now