bzr: ERROR: [Errno 95] Operation not supported - what exactly isn't supported?

Asked by Ben J Woodcroft

I'm running bzr to keep track of all a large repo (.bzr dir is 680MB), and pushing a backup to a samba directory. When I tried to update the repo in the samba share it failed:

$ bzr update
bzr: ERROR: [Errno 95] Operation not supported

To make sure there's nothing the matter:
$ bzr check
checked branch file:///<path> format Bazaar Branch Format 6 (bzr 0.15)
checked repository <bzrlib.transport.local.LocalTransport url=file:///<path>> format <RepositoryFormatKnit1>
    54 revisions
  1378 file-ids
  1398 unique file texts
 35419 repeated file texts
     0 unreferenced text versions

I'm using bzr 1.3.1 on Hardy Heron desktop.

How do I avoid this? Is it a problem with certain characters being disallowed from filenames on NTFS?
Thanks in advance,

Question information

English Edit question
Bazaar Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :

You can look in ~/.bzr.log to see a traceback about what is failing.

The problem is probably that Samba isn't giving us any more than "not supported" and we aren't handling that case explicitly.

If I was to guess, we are trying to take out an OS lock on .bzr/checkout/dirstate to update the working tree, and you don't have filesystem locking enabled on your Samba share.

At the moment, I believe the only workaround is to go directly to the machine that is serving the Samba share, and run 'bzr update" there.

Revision history for this message (vitaly-v-ch) said :

How about try to use other locking mechanism?

Can you help with this problem?

Provide an answer of your own, or ask Ben J Woodcroft for more information if necessary.

To post a message you must log in.