##// END OF EJS Templates
store: pass in decoded filename to narrow matcher
Yuya Nishihara -
r40620:a694a715 default
parent child Browse files
Show More
@@ -427,12 +427,12 b' class encodedstore(basicstore):'
427
427
428 def datafiles(self, matcher=None):
428 def datafiles(self, matcher=None):
429 for a, b, size in super(encodedstore, self).datafiles():
429 for a, b, size in super(encodedstore, self).datafiles():
430 if not _matchtrackedpath(a, matcher):
431 continue
432 try:
430 try:
433 a = decodefilename(a)
431 a = decodefilename(a)
434 except KeyError:
432 except KeyError:
435 a = None
433 a = None
434 if a is not None and not _matchtrackedpath(a, matcher):
435 continue
436 yield a, b, size
436 yield a, b, size
437
437
438 def join(self, f):
438 def join(self, f):
@@ -84,22 +84,6 b' Making sure store has the required files'
84
84
85 Checking that repository has all the required data and not broken
85 Checking that repository has all the required data and not broken
86
86
87 #if flat-nofncache
88 $ hg verify
89 checking changesets
90 checking manifests
91 crosschecking files in changesets and manifests
92 checking files
93 warning: revlog 'data/dir/src/F10.i' not in fncache!
94 9: empty or missing dir/src/F10
95 dir/src/F10@9: manifest refers to unknown revision 419ee72d626b
96 checked 40 changesets with 0 changes to 1 files
97 1 warnings encountered!
98 hint: run "hg debugrebuildfncache" to recover from corrupt fncache
99 2 integrity errors encountered!
100 (first damaged changeset appears to be 9)
101 [1]
102 #else
103 $ hg verify
87 $ hg verify
104 checking changesets
88 checking changesets
105 checking manifests
89 checking manifests
@@ -107,4 +91,3 b' Checking that repository has all the req'
107 crosschecking files in changesets and manifests
91 crosschecking files in changesets and manifests
108 checking files
92 checking files
109 checked 40 changesets with 1 changes to 1 files
93 checked 40 changesets with 1 changes to 1 files
110 #endif
General Comments 0
You need to be logged in to leave comments. Login now