Show More
@@ -343,7 +343,7 b' class dirstatemap(_dirstatemapcommon):' | |||
|
343 | 343 | return |
|
344 | 344 | |
|
345 | 345 | # TODO: adjust this estimate for dirstate-v2 |
|
346 |
if util.safehasattr(parsers, |
|
|
346 | if util.safehasattr(parsers, 'dict_new_presized'): | |
|
347 | 347 | # Make an estimate of the number of files in the dirstate based on |
|
348 | 348 | # its size. This trades wasting some memory for avoiding costly |
|
349 | 349 | # resizes. Each entry have a prefix of 17 bytes followed by one or |
General Comments 0
You need to be logged in to leave comments.
Login now