##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51458:2b1cd454 default
parent child Browse files
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, b'dict_new_presized'):
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