Spurious Content Conflict!?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In a simple merge Bazaar reported the following:
jal@odeon:
+N viewpoint/
M viewpoint/
M viewpoint/
M viewpoint/
M viewpoint/
Contents conflict in viewpoint/
Text conflict in viewpoint/
2 conflicts encountered.
Doing a bzr status shows:
jal@odeon:
added:
viewpoint/
modified:
viewpoint/
viewpoint/
viewpoint/
viewpoint/
unknown:
viewpoint/
viewpoint/
viewpoint/
viewpoint/
conflicts:
Contents conflict in viewpoint/
Text conflict in viewpoint/
pending merge tips: (use -v to see all merge revisions)
...
The contents conflict seems nonsense here; the file was just edited in both branches but was not "added" or "deleted", and it is clearly a text file. So it should just be a text conflict. In addition, this "adds" an "OTHER" version of the file which is so very, very wrong...
I looked at a full "missing" and only got "modified" status on the Bae_facturenEdi
It was, indeed, a content conflict. If you look at the merge output: ~/bzr/vp- 3.2-hot$ bzr merge ../vp-3.1-hot WebContent/ iRed/Bae/ Facturatie/ Bae_facturenEdi tPage.jsp. OTHER Oracle/ views/v_ isi_huurontvang sten.vw WebContent/ iRed/Bae/ Facturatie/ Gen_cst_ lookupForm. jsp src/iRed/ Bae/Facturatie/ bae_betaaltermi jnenBean. java src/iRed/ Bae/Facturatie/ bae_facturenBea n.java WebContent/ iRed/Bae/ Facturatie/ Bae_facturenEdi tPage.jsp WebContent/ iRed/Bae/ Facturatie/ Gen_cst_ lookupForm. jsp
jal@odeon:
+N viewpoint/
M viewpoint/
M viewpoint/
M viewpoint/
M viewpoint/
Contents conflict in viewpoint/
Text conflict in viewpoint/
I'm 75% sure that your local branch has deleted Bae_facturenEdi tPage.jsp and the branch you are merging has modified that file.
There is certainly a 25% chance that I'm wrong, but versioning a .OTHER file and marking a contents conflict is exactly what we do when you delete a file and try to merge changes to that file. (We don't have a file to put the changes into anymore, we use .OTHER to make it clear that it is something you need to pay close attention to.)