Merge lp:~bialix/bzr/clean-tree-bzrdir into lp:bzr
Proposed by
Alexander Belchenko
Status: | Merged |
---|---|
Approved by: | Vincent Ladeuil |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5212 |
Proposed branch: | lp:~bialix/bzr/clean-tree-bzrdir |
Merge into: | lp:bzr |
Diff against target: |
100 lines (+45/-0) 3 files modified
NEWS (+4/-0) bzrlib/clean_tree.py (+25/-0) bzrlib/tests/blackbox/test_clean_tree.py (+16/-0) |
To merge this branch: | bzr merge lp:~bialix/bzr/clean-tree-bzrdir |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Parth Malwankar | Approve | ||
Vincent Ladeuil | Approve | ||
Aaron Bentley | Pending | ||
Review via email: mp+24479@code.launchpad.net |
Commit message
``bzr clean-tree`` should not delete nested bzrdirs. (bialix, #572098)
Description of the change
This is minimal patch to address the problem highlighted in the bug report https:/
I'd like to get this patch backported to 2.1 series as well, because it's utterly important for users of bzr-externals and scmproj.
Next my step will be to provide additional command-line flag to force deleting of bzrdirs if user wants it.
To post a comment you must log in.
I was wondering if it makes sense to issue an info message in verbose mode saying something like '"foo" branch is skipped. "bar" branch is skipped... Please consider adding to ignored list.' rather than silently skipping.
run_bzr calls can probably be updated to take a list instead of a string. IIUC thats the newer recommended way.