Mercurial > hg > mercurial-source
diff tests/test-contrib-perf.t @ 39481:2cdb82e8fb44
perffncachewrite: load fncache after lock is acquired
Without this patch, running perffncachewrite on a repository destroy its
fncache.
Lock Acquisition drops various caches, including the fncache one. Then writing
of an non-loaded fncache result into an empty one.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sat, 14 Jul 2018 02:09:47 +0200 |
parents | 55101513ed94 |
children | 1601afbb573c 1732db2f8210 |
line wrap: on
line diff
--- a/tests/test-contrib-perf.t +++ b/tests/test-contrib-perf.t @@ -146,7 +146,11 @@ #if repofncache $ hg perffncacheencode $ hg perffncacheload + $ hg debugrebuildfncache + fncache already up to date $ hg perffncachewrite + $ hg debugrebuildfncache + fncache already up to date #endif $ hg perfheads $ hg perfindex