Merge lp:~spiv/bzr/fragile-do_merge-cleanup-517275-2.1 into lp:bzr/2.1
Proposed by
Andrew Bennetts
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Martin Pool | ||||
Approved revision: | not available | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~spiv/bzr/fragile-do_merge-cleanup-517275-2.1 | ||||
Merge into: | lp:bzr/2.1 | ||||
Diff against target: |
205 lines (+59/-58) 3 files modified
NEWS (+9/-0) bzrlib/cleanup.py (+2/-2) bzrlib/merge.py (+48/-56) |
||||
To merge this branch: | bzr merge lp:~spiv/bzr/fragile-do_merge-cleanup-517275-2.1 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pool | Approve | ||
Review via email: mp+18681@code.launchpad.net |
Commit message
(andrew) Replace several fragile try/finally blocks in merge.py using bzrlib.cleanup. (#517275)
To post a comment you must log in.
This replaces a bunch of fragile try/finally blocks with more robust cleanups using bzrlib.cleanup.
Bug 517275 only pointed out one place causing trouble, but I took the liberty of improving most of the other try/finally blocks in the module while I was there (maybe tripling the diff, but it's still not a very large patch).
As with other patches improving cleanups, this one is largely mechanical. I also improved the docstring of the bzrlib.cleanup module slightly.