Merge lp:~vila/bzr/1022160-show-base-no-tree into lp:bzr
Proposed by
Vincent Ladeuil
Status: | Merged |
---|---|
Approved by: | Martin Packman |
Approved revision: | no longer in the source branch. |
Merged at revision: | 6557 |
Proposed branch: | lp:~vila/bzr/1022160-show-base-no-tree |
Merge into: | lp:bzr |
Diff against target: |
55 lines (+11/-10) 3 files modified
bzrlib/builtins.py (+2/-3) bzrlib/tests/blackbox/test_pull.py (+6/-7) doc/en/release-notes/bzr-2.6.txt (+3/-0) |
To merge this branch: | bzr merge lp:~vila/bzr/1022160-show-base-no-tree |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Packman (community) | Approve | ||
Review via email: mp+122913@code.launchpad.net |
Commit message
Warn rather than erroring if pull --show-base is used without a tree
Description of the change
As reported, --show-base makes no sense while pulling in a treeless branch,
so better warn than fail.
To post a comment you must log in.
Seems good to me. We'd like a way of silencing warnings really, but that's not a job for this branch, and warning is the right thing I'd say. The test is slightly funky, but your change to it is fine.