Merge lp:~jelmer/bzr/branch4-no-metadir into lp:bzr
Proposed by
Jelmer Vernooij
Status: | Merged |
---|---|
Approved by: | Vincent Ladeuil |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5708 |
Proposed branch: | lp:~jelmer/bzr/branch4-no-metadir |
Merge into: | lp:bzr |
Diff against target: |
127 lines (+41/-22) 3 files modified
bzrlib/branch_weave.py (+18/-20) bzrlib/tests/per_interbranch/__init__.py (+2/-2) bzrlib/tests/test_branch.py (+21/-0) |
To merge this branch: | bzr merge lp:~jelmer/bzr/branch4-no-metadir |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil | Approve | ||
Review via email: mp+52575@code.launchpad.net |
Commit message
Avoid using BzrBranchFormat4 in meta directories.
Description of the change
It was possible to initialize format 4 branches in meta directories, even
though it wasn't possible to open them again later.
The per_interbranch tests relied on this behaviour.
This MP:
* Fixes BzrBranchFormat4 to check that it's initialized in a BzrDir it supports, and tests it behaves that way
* Fixes per_interbranch to initialize branch formats in BranchFormat.
* Adds an apparently missing implementation of BzrBranchFormat
To post a comment you must log in.
Looks straightforward, land ! :)