diff mercurial/exewrapper.c @ 25448:2bbfc2042d93

dirstate: avoid invalidating every entries when list is empty Default value was not tested with 'is None', this made empty list seen as default value and result the invalidation of every single entry in the dirstate. On repos with hundred of thousand of files, this results in minutes of lookup time instead nothing. This is a text book example of why we should test 'is None' if this is what we mean.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 04 Jun 2015 22:10:32 -0700
parents 93d97a212559
children d215def59c3b
line wrap: on
line diff