[PATCH] Kneecap win32 locks

Martin (gzlist) gzlist at googlemail.com
Thu Jul 2 21:09:12 BST 2009


This patch removes most of the protection file locks provide on
windows, particularly of write locks from being read.

Before:
    Ran 20719 tests in 3007.156s

    FAILED (failures=43, errors=156, known_failure_count=13)
    2024 tests skipped

After:
    Ran 20719 tests in 3067.453s

    FAILED (failures=22, errors=29, known_failure_count=12)
    2023 tests skipped

The change is fundamentally a bad idea, but it is interesting to see
that of 199 windows failures and errors, three quarters are related to
incorrect assumptions about locks.

Also makes `bzr shelf` work, amoungst other things.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weak_write_lock.bundle
Type: application/octet-stream
Size: 4993 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090702/2ca8c6eb/attachment.obj 


More information about the bazaar mailing list