Deleting an unversion directory with contents fails

Bug #412884 reported by Craig Hewetson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Fix Released
Low
Ian Clatworthy

Bug Description

It does show the dialog asking to delete the children. After saying yes, it still fails saying that the directory could not be deleted because it was not empty. (Error 39)

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Under the covers, explorer is simply calling bzrlib.osutils.delete_any() so I suspect the actual bug is in there. Can you provide some more information to help isolate and/or fix it?

What platform is this? What files were left over after the delete was attempted?

Changed in bzr-explorer:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Hmm, maybe I need to be calling osutils.rmtree() instead of osutils.delete_any(). Let me try that.

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Yep, that did the trick. Fixed in rev 224.

Changed in bzr-explorer:
assignee: nobody → Ian Clatworthy (ian-clatworthy)
milestone: none → 0.7
status: Incomplete → Fix Released
Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote : Re: [Bug 412884] Re: Deleting an unversion directory with contents fails

Thanks for the fix, I'll update and install the latest version to test.

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.