[win32] shelve problem when trying to remove added directory which is watched by FAR
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/
bzr/checkout/
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\
0.453 looking for plugins in C:/Program Files/Bazaar/
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\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\shelf.pyo", line 377, in shelve_changes
File "bzrlib\shelf.pyo", line 251, in transform
File "bzrlib\
File "bzrlib\
ImmortalPending