Mercurial > hg-stable
diff contrib/perf.py @ 34676:bfddc3d678ae
dirstate: remove _filefoldmap property cache
Now that the filefoldmap is source of truthed on the dirstatemap, let's get rid
of the property cache on the dirstate.
Differential Revision: https://phab.mercurial-scm.org/D981
author | Durham Goode <durham@fb.com> |
---|---|
date | Thu, 05 Oct 2017 11:34:41 -0700 |
parents | bbb5687e5140 |
children | 014bd2a555c8 |
line wrap: on
line diff
--- a/contrib/perf.py Thu Oct 05 11:34:41 2017 -0700 +++ b/contrib/perf.py Thu Oct 05 11:34:41 2017 -0700 @@ -549,8 +549,8 @@ dirstate = repo.dirstate 'a' in dirstate def d(): - dirstate._filefoldmap.get('a') - del dirstate._filefoldmap + dirstate._map.filefoldmap.get('a') + del dirstate._map.filefoldmap timer(d) fm.end()