Merge lp:~jameinel/bzr/2.4-launchpad-package-freshness-609187 into lp:bzr/2.4
Proposed by
John A Meinel
Status: | Merged |
---|---|
Approved by: | Vincent Ladeuil |
Approved revision: | no longer in the source branch. |
Merged at revision: | 6026 |
Proposed branch: | lp:~jameinel/bzr/2.4-launchpad-package-freshness-609187 |
Merge into: | lp:bzr/2.4 |
Diff against target: |
30 lines (+6/-1) 2 files modified
bzrlib/plugins/launchpad/__init__.py (+3/-1) bzrlib/plugins/launchpad/test_lp_api_lite.py (+3/-0) |
To merge this branch: | bzr merge lp:~jameinel/bzr/2.4-launchpad-package-freshness-609187 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil | Approve | ||
Review via email: mp+70596@code.launchpad.net |
Commit message
Bug #816417, handle if Branch.base is None
Description of the change
This is an update, addressing bug #816417. It seems bzr-svn/hg/git weren't setting Branch.base until after __init__.
While it is good that those got fixed (so that Branch.open hook actually has a base for all branches), it still is reasonable to workaround it in the Launchpad plugin.
I'm proposing it for the 2.4 series, since it will get auto-landed into bzr.dev.
To post a comment you must log in.
Nice and clean !
But why didn't you add a specific test instead of adding to an existing test ?