[Critical] dirstate format use OS file locking

Alexander Belchenko bialix at ukr.net
Thu Mar 8 03:10:32 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm track down problem with LockError.

Dirstate working tree format use old bzr locking mechanism (lock.py) based on underlying OS locks.
This was used in the past. But it NEVER works correctly on win32 in some cases
(especially 'bzr pull .' cause deadlock on win32 and cygwin).

Now we have absolutely the same: on win32: after bzr obtain write lock it *cannot* obtain read lock
on the same file. IIRC, in the end of 2005 year there was discussion about this limitation, and
after this bzr switch to use lock-dirs.

Now bzr reverts to old [buggy] behaviour.
For me this means that 0.15rc1 in current state is unusable on win32.
I don't know what to say more.

[µ]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF736ozYr338mxwCURAi46AJ0TMzMMJkofRKu3OnftFg7VYHbmrQCcDpkX
nlTk2XytavQUdVreGnCapqs=
=+FJU
-----END PGP SIGNATURE-----



More information about the bazaar mailing list