RFC: acquisition of wlock inside transaction
Matt Mackall
mpm at selenic.com
Mon May 23 21:59:32 UTC 2016
On Thu, 2016-05-12 at 04:16 +0900, FUJIWARA Katsunori wrote:
> But, as far as I confirmed with scenarios in *.t test scripts,
> acquisition of wlock inside transaction itself occurs in cases below
> (both via bundle2.processbundle()):
>
> - tags.hgtagsfnodescache.write() to write into .hg/cache/hgtagsfnodes1
> - repoview.trywritehiddencache() to write into .hg/cache/hidden
If these are cases of attempting to opportunistically update caches, then they
should silently fail.
(And that is really the only type of cache write there should be.)
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list