Merge lp://qastaging/~spiv/bzr/tags-commit-propagation-603395-2.2 into lp://qastaging/bzr/2.2
Status: | Merged |
---|---|
Approved by: | John A Meinel |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5109 |
Proposed branch: | lp://qastaging/~spiv/bzr/tags-commit-propagation-603395-2.2 |
Merge into: | lp://qastaging/bzr/2.2 |
Diff against target: |
144 lines (+73/-11) 3 files modified
NEWS (+5/-1) bzrlib/commit.py (+12/-1) bzrlib/tests/blackbox/test_tags.py (+56/-9) |
To merge this branch: | bzr merge lp://qastaging/~spiv/bzr/tags-commit-propagation-603395-2.2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Packman (community) | Approve | ||
John A Meinel | Needs Fixing | ||
Review via email: mp+39733@code.qastaging.launchpad.net |
Commit message
Make 'bzr commit' in a checkout propagate new tags to the master (and report conflicting tags). (#603395)
Description of the change
This is the second part of the fix for bug 603395. It makes commit in a checkout try to merge tags to the master, so that tags introduced by e.g. "bzr merge" will be propagated to the master.
This patch <https:/
I think having the news entry saying it propagates "new" tags is misleading. It propagates all tags. (Imagine the master deleted a tag, we'll put it back at this point.)
Anyway the change seems fine, though it seems like it would supersede the other. (rather than have it done at merge time, have it done at commit time seems a better tradeoff. Would be even better if we staged tag changes into the working tree, rather than auto-committing to the branch.)
So, I like this patch more than the other one, just needs a tweak on the NEWS entry.