Maybe locking is a bzr thing....

Alexander Belchenko bialix at ukr.net
Mon Oct 15 18:23:49 BST 2007


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

Bruce Korb пишет:
> On 10/14/07, Alexander Belchenko <bialix at ukr.net> wrote:
>> Bruce Korb пишет:
>>> $ bzr get http://cdd.alioth.debian.org/bzr/simple-cdd/releases/simple-cdd-0.3.5/
>>> bzr: ERROR: Could not acquire lock [Errno 37] No locks available
>> "No locks available": because your files on /share I assume it's NFS or samba disk,
>> right? So problem here that bzr wants to have some file-locking mechanism
>> for your files on that disk. I don't know much about Linux, but probably
>> you need setup and run some locking support for shared disks.
> 
> ??  That has been integrated into UNIX-y systems since forever (OK, since
> a couple of decades ago).
> 
>> As a ugly workaround you don't need to upgrade your working trees to latest
>> format, but use knits format instead. This format does not require file locks
>> and should just works.
> 
> Thank you.  I'll go figure out what this means and use "knits format".

$ bzr init --knit
$ bzr info

The bad side of knits: newest version of bzr will nag you every time with suggestions to upgrade.

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

iD8DBQFHE6IlzYr338mxwCURAiMYAJ9Edcke9vH7JUy62syLJVPuNd2PcwCfe1OA
TcixGQq3syHyLmW6u6bqSxY=
=ILN8
-----END PGP SIGNATURE-----



More information about the bazaar mailing list