Merge lp:~jelmer/bzr/more-colo into lp:bzr
| Status: | Merged |
|---|---|
| Approved by: | Vincent Ladeuil on 2010-05-07 |
| Approved revision: | 5154 |
| Merged at revision: | 5218 |
| Proposed branch: | lp:~jelmer/bzr/more-colo |
| Merge into: | lp:bzr |
| Prerequisite: | lp:~jelmer/bzr/colo-doc |
| Diff against target: |
292 lines (+64/-34) 7 files modified
bzrlib/branch.py (+11/-7) bzrlib/bzrdir.py (+20/-10) bzrlib/remote.py (+8/-5) bzrlib/switch.py (+1/-1) bzrlib/tests/per_branch/test_branch.py (+2/-1) bzrlib/tests/per_bzrdir_colo/test_unsupported.py (+21/-9) bzrlib/tests/test_remote.py (+1/-1) |
| To merge this branch: | bzr merge lp:~jelmer/bzr/more-colo |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Vincent Ladeuil | 2010-04-16 | Approve on 2010-05-07 | |
| bzr-core | 2010-05-04 | Pending | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2010-04-12.
Description of the Change
Pass the colocated branch name along in more places, add extra tests.
| Vincent Ladeuil (vila) wrote : | # |
| Jelmer Vernooij (jelmer) wrote : | # |
[15:06] <vila> jelmer: lowering the alert level about using name=name instead of name, it was due to an overly aggressively blind local patch to bzr-loom,
[15:07] <vila> jelmer: the remark still stand though, since you're adding a keyword arg than can be None, better use the name= syntax to avoid breakage
[15:07] <jelmer> vila: I agree it's a good idea to use name= anyway
I've now change the patch to use name= where relevant.
| Vincent Ladeuil (vila) wrote : | # |
@Jelmer: the conflicts don't help here can you update that branch ?
Also, is there some bits waiting from https:/
| Jelmer Vernooij (jelmer) wrote : | # |
Should be fixed now. This branch is a prerequisite for the other one, lp:~jelmer/bzr/colo-urls
- 5153. By Jelmer Vernooij on 2010-04-29
-
consistency in names
- 5154. By Jelmer Vernooij on 2010-04-29
-
merge bzr.dev.

Heads-up: please, consider *always* using name=name instead of a bare 'name'.
Examples: find_format( self, name)
57 + return BranchFormat.
66 + format = self.find_ branch_ format( name)
85 + b = self.open_ branch( name)
I may have missed some.
This patch and a previous one (nick: use-branch-open ?) are breaking bzr-loom without a way to catch up with your modifications.
And since I didn't track the changes closely I'm not even clear about what loom should do with this parameter and patching blindly sounds like as sure recipe to disaster, help !