error on pushing a diverged branch to append_only target
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I created a very small bzr plugin command to allow me to tweak LP branches to be append_only like this:
class cmd_append_
takes_args = ['branch']
def run(self, branch):
"""See `Command`."""
b = Branch.open(branch)
b.unlock()
And in testing it I did the following:
I took an existing project I had, like unity:
bzr cbranch trunk test
cd test
bzr push test
bzr append-only :push (failed but not this bug)
bzr append-only lp:~thumper/unity/test
bzr uncommit
bzr revert
bzr push (silently succeeded, again, not this bug)
bzr commit --unchanged
bzr push
Using saved push location: lp:~thumper/unity/test
bzr: ERROR: These branches have diverged. See "bzr help diverged-branches" for more information.
-- this is fine
bzr push --overwrite
Using saved push location: lp:~thumper/unity/test
bzr: ERROR: Server sent an unexpected error: ('error', 'RevisionNotPre
Not so good.
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: check-for-breezy |