No way to switch off Bazaar's automatic conflict resolution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
I've figured out that Bazaar does not allow to switch off automatic conflict resolution. I think there should be something like a dumb conflict resolution strategy which just marks all differences as conflicts instead of trying to resolve as much conflicts as possible automatically.
Here is my use case:
I am working on two branches A and B which contain nearly the same contents. Some source files, however, differ in some places. Sometimes I work on branch A and want to merge my changes into B, sometimes I do it vice versa. But while doing this, I would like to maintain some of the mentioned differences. Think of a configuration file in A and in B, for example, which contain common and different information in each branch. Now when I change the common part in, let's say A, then I would like to merge in only(!) the common part into B's configuration file. Using Bazaar's merge command would now merge in all contents of A into B and, hence, overwrite the branch specific part of B. Thus, what I need is to do a manual merge using, for example an external merge program like kdiff3. The 'extmerge' plugin is a good tool for this, but it requires to have all differences to be marked as conflicts.
In short, Bazaar tries to be as intelligent as possible in resolving conflicts (which it does indeed very good) but it should also allow to behave as dumb as possible.
Best regards,
Jonny
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in bzr: | |
status: | Triaged → Confirmed |
tags: | added: check-for-breezy |
Hi Jonny,
I'm not sure I understand your use case fully. In the example you present
you appear to have a file with a modification specific to A, and then merging
B overwrites this modification, is that what you are saying?
I don't understand why this would happen, as if both A and B had modified
the same area then it would cause a conflict, rather than overwriting it.
Or is it that A doesn't actually modify the file, it just doesn't want B's change?
The usual way to do this would be to "revert" out the changes, either using
the "revert" command or editing. I can see that it wouldn't be easy to do this
at the hunk level, as "revert" only works at the file level.
Is your request to have conflict regions for every change made by B, regardless
of whether A has modified that area?
Thanks,
James