Mercurial > hg
comparison tests/test-obsolete.t @ 24377:656f93ce66d5
revbranchcache: move cache writing to the transaction finalizer
Instead of writing the revbranchcache during updatecache (which often happens
too early, before the cache is even populated), let's run it as part of the
transaction finalizer. It still won't be written for read-only operations, but
that's no worse than it is today.
A future commit will remove the actual write that happens in updatecache().
This is also good prep for when all caches get moved into the transaction.
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 10 Feb 2015 20:06:12 -0800 |
parents | 7977d35df13b |
children | 33ab99a6ad9b |
comparison
equal
deleted
inserted
replaced
24376:203a078da052 | 24377:656f93ce66d5 |
---|