dirstate file locking doesn't work on smb mount on osx - bzr add, bzr status, and bzr commit fail over a SMB share
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned |
Bug Description
I am trying to create a new branch in an existing directory full of source code that is mounted on my local Mac OS X (10.4.4) machine via a SMB share. No matter if the share is on a Windows Server 2003 share or a Samba 3 share, the same error results. This error can be reproduced through the following 3 bzr commands: "bzr add", "bzr status", and "bzr commit". "bzr init" worked just fine however. The following error is what results:
$ bzr add
bzr: ERROR: bzrlib.
at /opt/local/
in __init__
/opt/local/
warn("lock on %r not released" % self.f)
Exception exceptions.IOError: (45, 'Operation not supported') in <bound method _fcntl_
$ bzr status
bzr: ERROR: bzrlib.
at /opt/local/
in __init__
/opt/local/
warn("lock on %r not released" % self.f)
Exception exceptions.IOError: (45, 'Operation not supported') in <bound method _fcntl_
$ bzr commit
bzr: ERROR: bzrlib.
at /opt/local/
in __init__
/opt/local/
warn("lock on %r not released" % self.f)
Exception exceptions.IOError: (45, 'Operation not supported') in <bound method _fcntl_
This should be fixed for metadir or knit repositories created with bzr 0.8 & later - they use lockdirs, not os locks.
Thanks for the report.