##// END OF EJS Templates
verify: reduce memory footprint when unpacking files...
Matt Mackall -
r11753:eb7b0465 stable
parent child Browse files
Show More
@@ -243,12 +243,12 def _verify(repo):
243 243
244 244 # verify contents
245 245 try:
246 t = fl.read(n)
246 l = len(fl.read(n))
247 247 rp = fl.renamed(n)
248 if len(t) != fl.size(i):
248 if l != fl.size(i):
249 249 if len(fl.revision(n)) != fl.size(i):
250 250 err(lr, _("unpacked size is %s, %s expected") %
251 (len(t), fl.size(i)), f)
251 (l, fl.size(i)), f)
252 252 except Exception, inst:
253 253 exc(lr, _("unpacking %s") % short(n), inst, f)
254 254
General Comments 0
You need to be logged in to leave comments. Login now