[MERGE] Implement bzrlib.lock with CreateFile rather than LockFileEx on win32 (operational part)

John Arbash Meinel john at arbash-meinel.com
Thu Jun 25 16:36:57 BST 2009

John Arbash Meinel has voted approve.
Status is now: Approved
So I can confirm that
1) the locking is properly exclusive on Vista
2) Older clients are exclusive with newer clients (on vista with 
win32file available)
3) The ctypes implementation is exclusive with the win32file 
4) Read locks exclude writers, but not other readers (between versions, 
5) write locks exclude readers (not checking writers because we exclude 
them with directory locks)

I have no idea what this does for things like Win98, but at least the 
edge cases I consider important work correctly on Vista.

Good job.

For details, see: 
Project: Bazaar

More information about the bazaar mailing list