Show More
@@ -31,7 +31,6 b' from mercurial import (' | |||||
31 | repoview, |
|
31 | repoview, | |
32 | requirements, |
|
32 | requirements, | |
33 | sparse, |
|
33 | sparse, | |
34 | store, |
|
|||
35 | util, |
|
34 | util, | |
36 | wireprototypes, |
|
35 | wireprototypes, | |
37 | ) |
|
36 | ) | |
@@ -292,11 +291,11 b' def _narrow(' | |||||
292 | for entry in repo.store.datafiles(): |
|
291 | for entry in repo.store.datafiles(): | |
293 | if not entry.is_revlog: |
|
292 | if not entry.is_revlog: | |
294 | continue |
|
293 | continue | |
295 | if entry.revlog_type == store.FILEFLAGS_FILELOG: |
|
294 | if entry.is_filelog: | |
296 | if not newmatch(entry.target_id): |
|
295 | if not newmatch(entry.target_id): | |
297 | for file_ in entry.files(): |
|
296 | for file_ in entry.files(): | |
298 | todelete.append(file_.unencoded_path) |
|
297 | todelete.append(file_.unencoded_path) | |
299 | elif entry.revlog_type == store.FILEFLAGS_MANIFESTLOG: |
|
298 | elif entry.is_manifestlog: | |
300 | dir = entry.target_id |
|
299 | dir = entry.target_id | |
301 | dirs = sorted(pathutil.dirs({dir})) + [dir] |
|
300 | dirs = sorted(pathutil.dirs({dir})) + [dir] | |
302 | include = True |
|
301 | include = True |
General Comments 0
You need to be logged in to leave comments.
Login now