Fixing .hg file open ordering

Bryan O'Sullivan bos at serpentine.com
Wed Nov 2 18:39:50 EDT 2016


On Wed, Nov 2, 2016 at 3:30 PM, Durham Goode <durham at fb.com> wrote:

> Bookmark writes are now within the wlock, and any inmemory read you did
> prior to taking the lock will be invalidated (during the next
> repo._bookmarks access) and thrown away when you take the lock. So once
> you're in the lock you are guaranteed to get the latest version off disk,
> and guaranteed that no one else will modify it until you release the lock.
>

OK, great, that was the step I was missing when reading the code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20161102/628eaece/attachment.html>


More information about the Mercurial-devel mailing list