[PATCH 4 of 4 stable] PROOF OF CONCEPT: introduce lock validation

Mads Kiilerich mads at kiilerich.com
Sat May 12 13:39:31 CDT 2012


Mads Kiilerich wrote, On 05/12/2012 08:37 PM:
> # HG changeset patch
> # User Mads Kiilerich<mads at kiilerich.com>
> # Date 1326326392 -3600
> # Node ID 715dc5d131f5d690b32925a50a80ded2bb4b8609
> # Parent  4a112c51f224358f5c269b06d6ee82f43b6c9133
> PROOF OF CONCEPT: introduce lock validation
>
> Instrumenting critical places with these checks can help verifying compliance
> with the locking strategy described on
> http://mercurial.selenic.com/wiki/LockingDesign.
>
> Occasionally running the test suite with this patch might catch some locking
> errors, but the checking as it is is probably too intrusive for inclusion in
> core Mercurial.

Idan, you mentioned you had a patch for something similar ... something 
that apparently caught a different set of problems?

/Mads


More information about the Mercurial-devel mailing list