"incomplete/misleading error message in push"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I've set up a shared repository, and a few developers work on code using the "decentralized with shared mainline" workflow.
So, the logical flow of developer actions is:
1) bzr pull
2) (hack hack hack)
3) bzr push
4) push says that branches have diverged?
if yes:
4a) merge
4b) commit
4c) push
if no: all is ok
If I have no errors in my setup, this mechanism fails if I do not do a commit in 4b, right?
So, the error message given in 4, that is:
bzr: ERROR: These branches have diverged. Try using "merge" and then "push".
ought instead be something like:
bzr: ERROR: These branches have diverged. Try using "merge", "commit" and then "push".
because if a user does only merge and push, he gets always the same error (correctly).
Thank you.
description: | updated |
Changed in bzr: | |
milestone: | none → 1.17 |
status: | Triaged → Fix Released |
On Fri, 2008-09-12 at 16:34 +0000, d3k0 wrote:
> bzr: ERROR: These branches have diverged. Try using "merge", eventually
> "commit" or "revert" and then "push".
How about 'Try merging (see "bzr help merge"), and then push again.'
"revert" wouldn't help you, and I don't like trying to explain
everything in an error message.
Thanks,
James