Merge lp:~jelmer/bzr/branchfmt into lp:bzr
| Status: | Merged |
|---|---|
| Approved by: | Vincent Ladeuil on 2012-07-02 |
| Approved revision: | 6519 |
| Merged at revision: | 6535 |
| Proposed branch: | lp:~jelmer/bzr/branchfmt |
| Merge into: | lp:bzr |
| Diff against target: |
546 lines (+223/-153) 10 files modified
bzrlib/branch.py (+2/-141) bzrlib/branchfmt/__init__.py (+25/-0) bzrlib/branchfmt/fullhistory.py (+178/-0) bzrlib/bzrdir.py (+4/-3) bzrlib/plugins/weave_fmt/__init__.py (+1/-1) bzrlib/plugins/weave_fmt/branch.py (+2/-0) bzrlib/plugins/weave_fmt/bzrdir.py (+1/-1) bzrlib/tests/per_repository/test_repository.py (+1/-1) bzrlib/tests/test_branch.py (+7/-4) bzrlib/tests/test_bzrdir.py (+2/-2) |
| To merge this branch: | bzr merge lp:~jelmer/bzr/branchfmt |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Vincent Ladeuil | 2012-03-30 | Approve on 2012-07-02 | |
|
Review via email:
|
|||
Commit Message
Move the old branch format 5 into a separate module.
Description of the Change
Move the old branch format 5 into a separate module.
| Jelmer Vernooij (jelmer) wrote : | # |
> I'm not sure I understand the purpose of the proposal here, it seems like a
> step towards... something I can't put my finger on ;)
>
> Should branchfmt be named branch_
No, as I can imagine us moving other branch formats in there in the future as well.
> If not, what kind of modules will be added there ? When ?
I would imagine adding new formats there in the future if we have a good reason to. We could add the existing formats there too, e.g. in bzrlib.
> No objection per se but I've got the feeling we don't use the right names here
> nor put this code in the right place.
>
> I think I would feel more comfortable if this code could be handled in the
> same way the weave code was but if it's too early for that may be we should
> just wait.
The weave branch format already lives in bzrlib/
| Vincent Ladeuil (vila) wrote : | # |
Ok, so, please remove the hideous '.THIS' file for good, add a summary of your comments above (and the additional ones you made on IRC) into bzrlib/
- 6520. By Jelmer Vernooij on 2012-07-02
-
merge lp:bzr
- 6521. By Jelmer Vernooij on 2012-07-02
-
Add comment.
- 6522. By Jelmer Vernooij on 2012-07-06
-
Merge bzr.dev.
- 6523. By Jelmer Vernooij on 2012-07-06
-
Fix remaining tests.

I'm not sure I understand the purpose of the proposal here, it seems like a step towards... something I can't put my finger on ;)
Should branchfmt be named branch_ old_formats_ you_should_ not_use_ anymore ?
If not, what kind of modules will be added there ? When ?
No objection per se but I've got the feeling we don't use the right names here nor put this code in the right place.
I think I would feel more comfortable if this code could be handled in the same way the weave code was but if it's too early for that may be we should just wait.
Can you clarify ?