comparison .editorconfig @ 39263:eebd591803ab

copies: correctly skip directories that have already been considered Previously, `if dsrc in invalid` would never be true, since we added `dsrc +"/"` to invalid, not `dsrc` itself. Since it's much more common for individual files (not whole directories) to be moved, it seemed cleaner to delay appending the "/" until we know we have some directory moves to actually consider. I haven't benchmarked this, but I imagine this is a mild performance win. Differential Revision: https://phab.mercurial-scm.org/D4284
author Kyle Lippincott <spectral@google.com>
date Wed, 15 Aug 2018 14:41:27 -0700
parents 1d6066336d7b
children c25efc468a49
comparison
equal deleted inserted replaced
39262:5b9f116104f9 39263:eebd591803ab