Comment 7 for bug 450047

Revision history for this message
Gary van der Merwe (garyvdm) wrote :

This happen a second time, I believe, under the same circumstances. I've been naughty. I'm doing wt operations through a gvfs sftp mount. Here is the .bzr.log entry where the dirstate corrupted:

Wed 2010-06-09 09:06:23 +0200
0.045 bazaar version: 2.2b2
0.045 bzr arguments: [u'diff', u'--using', u'kompare', u'-r', u'-2', u'tomcat/shared/classes/alfresco-global.properties']
0.059 looking for plugins in /home/garyvdm/.bazaar/plugins
0.111 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.126 encoding stdout as sys.stdout encoding 'UTF-8'
0.317 opening working tree '/home/garyvdm/.gvfs/sftp for root on ***.***.***.***/opt/Alfresco'
25.675 Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 907, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1111, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 685, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 700, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 172, in _do_with_cleanups
    cleanup(*c_args, **c_kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 1142, in unlock
    self._dirstate.save()
  File "/usr/lib/python2.6/dist-packages/bzrlib/dirstate.py", line 2306, in save
    self._state_file.truncate()
IOError: [Errno 95] Operation not supported

25.676 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
25.676 return code 3