Merge lp:~spiv/bzr-loom/bzr-2.3-compat into lp:bzr-loom
Proposed by
Andrew Bennetts
on 2010-12-16
| Status: | Merged |
|---|---|
| Merged at revision: | 127 |
| Proposed branch: | lp:~spiv/bzr-loom/bzr-2.3-compat |
| Merge into: | lp:bzr-loom |
| Diff against target: |
62 lines (+17/-4) 2 files modified
NEWS (+4/-0) branch.py (+13/-4) |
| To merge this branch: | bzr merge lp:~spiv/bzr-loom/bzr-2.3-compat |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Martin Pool (community) | 2010-12-16 | Approve on 2010-12-16 | |
|
Review via email:
|
|||
Commit Message
Fix compatibility with bzr trunk (which will become bzr 2.3).
Description of the Change
A recent patch I landed on lp:bzr broke plugins that implement their own branch formats. This is a small patch to make looms support the new API (without breaking compatibility with 2.2).
To post a comment you must log in.

That looks reasonable to me.
Perhaps in general it's better to check the bzrlib version than whether the parameter is None, because it makes it more obvious why we have it there, and it's less likely to cause trouble if for instance new code does pass None for that value.