[win32] shelve problem when trying to remove added directory which is watched by FAR

Bug #611735 reported by Alexander Belchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

This is somewhat related to Bug #611732.

I'm using FAR manager (console 2 panes file manager) when I'm working with bzr.
If I have some directory opened on non-active pane of FAR and trying to shelve this directory then bzr failed. I suspect there is some error generated from Windows, maybe because that non-active pane "watched" changes to directory, I'm not quite sure. But I know that if I want to delete directory watched by non-active pane of FAR -- I can do this.

Here's session:

C:\Temp\1>bzr st
added:
  foo/bar/
  foo/bar/spam

C:\Temp\1>bzr shelve --all
Selected changes:
-D foo/bar/
-D foo/bar/spam
bzr: ERROR: Unable to delete transform temporary directory C:/Temp/1/.bzr/checkout/pending-deletion. Please examine C:/Temp/1/.
bzr/checkout/pending-deletion to see if it contains any files you wish to keep, and delete it when you are done.

After this error the directory bar and file spam are actually deleted. But .bzr/checkout directory has 2 empty directories inside: limbo and pending-deletions.
And correct shelve item created, so I can unshelve them (but I have to remove limbo dirs first).

.bzr.log:

0.234 bazaar version: 2.1.2
0.234 bzr arguments: [u'shelve', u'--all']
0.281 looking for plugins in C:\work\Bazaar\plugins
0.453 looking for plugins in C:/Program Files/Bazaar/plugins
0.484 encoding stdout as sys.stdout encoding 'cp866'
0.625 opening working tree 'C:/Temp/1'
[ 2452] 2010-07-30 18:09:18.780 INFO: Selected changes:
[ 2452] 2010-07-30 18:09:18.780 INFO: -D foo/bar/
[ 2452] 2010-07-30 18:09:18.780 INFO: -D foo/bar/spam
0.703 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 853, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1055, in run_bzr
  File "bzrlib\commands.pyo", line 661, in run_argv_aliases
  File "bzrlib\commands.pyo", line 665, in run_direct
  File "bzrlib\cleanup.pyo", line 122, in run_simple
  File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 5770, in run
  File "bzrlib\shelf_ui.pyo", line 213, in run
  File "bzrlib\shelf.pyo", line 377, in shelve_changes
  File "bzrlib\shelf.pyo", line 251, in transform
  File "bzrlib\transform.pyo", line 1549, in apply
  File "bzrlib\transform.pyo", line 1113, in finalize
ImmortalPendingDeletion: Unable to delete transform temporary directory C:/Temp/1/.bzr/checkout/pending-deletion. Please examine C:/Temp/1/.bzr/checkout/pending-deletion to see if it contains any files you wish to keep, and delete it when you are done.

description: updated
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.