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

Alexander Belchenko bialix at ukr.net
Fri Jun 19 11:16:22 BST 2009


Martin (gzlist) пишет:
> 2009/6/19 Alexander Belchenko <bialix at ukr.net>:
>> Do you run existing per_lock tests? There is a lot of test failures.
> 
> I did, naturally they passed on both the boxes I tried.
> 
> Problem is on your machine, this raises:
> 
>>>> import ctypes
>>>> assert ctypes.WinError(5).errno == 5
> 
> Annoyingly, I'd read about just this problem as described in the
> bzrlib.osutils._is_error_enotdir docstring, but promptly forgot about
> it.
> 
> Attached amended bundle with trivial fix.
> 
> Martin

This works for me.




More information about the bazaar mailing list