diff mercurial/demandimport.py @ 21806:05bd2667df4d

pack_dirstate: in C version, for invalidation set dict to what we write to disk For files written out in the last second, Mercurial used to invalidate all the stat data (state, size, mode, mtime) while persisting to disk. This included invalidating the data in the dirstate dict as well. In commit 187bf2dde7c1, this was found to be unnecessary, and Mercurial switched to invalidating only the mtime. However, in the C version of pack_dirstate the value set in the dict was still the fully invalidated one. Switch to invalidating just the mtime in the dict as well.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 27 May 2014 15:17:38 -0700
parents 74be3fb1e3b8
children 2205d00b6d2b
line wrap: on
line diff