Cannot delete directory with ignored files
Bug #323111 reported by
Christophe Simonis (OpenERP)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Vincent Ladeuil |
Bug Description
bzr musn't generate a conflict when trying to delete a directory containing only ignored files (like a python module containting remaining .pyc files)
Related branches
lp:~vila/bzr/323111-orphan-non-versioned-files
- Andrew Bennetts: Needs Information
-
Diff: 367 lines (+200/-12) (has conflicts)7 files modifiedbzrlib/bzrdir.py (+4/-1)
bzrlib/tests/per_workingtree/test_pull.py (+37/-0)
bzrlib/tests/test_bzrdir.py (+14/-3)
bzrlib/tests/test_transform.py (+70/-0)
bzrlib/transform.py (+57/-8)
doc/en/release-notes/bzr-2.3.txt (+6/-0)
doc/en/whats-new/whats-new-in-2.3.txt (+12/-0)
Changed in bzr: | |
importance: | Wishlist → Medium |
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.3b3 |
status: | In Progress → Fix Released |
To post a comment you must log in.
bzr doesn't make a distinction between "junk" files (as .pyc files) and "precious" but not versioned files (passwords, nuclear launch codes).
Until such a distinction is made, we can't blindly delete these files in the mentioned case.