I am struggling with a particular case of bad terminology in Darcs. We use the term "conflict resolution" for two very different things:
One is the process of actually resolving a conflict by recording a new patch that depends on all conflicting patches. This is in line with how the term it is used in other contexts (git etc), though the mechanics are of course unique to Darcs. It also in line with distinguishing between "resolved" and "unresolved" conflicts. Unfortunately we use the same term for the process of calculating the conflict graph from which we can read off conflict markup. Overloading the term in this way makes it quite difficult to sensibly talk and reason about these things. I think it was a serious mistake to have procedures like 'resolveConflicts' and 'standardResolution' named in this way. So what is a better name? I don't like the term "conflict marking". Sure, generating conflict markup is an important, if not to say the ultimate, goal of the calculation. But the markup itself is really the most superficial aspect of the story. It is also incomplete (we mark only pure hunk-hunk conflicts) which is why we have "mangled" and "unmangled" conflicts. The essence of the process is to distill (unresolved) conflicts from the history and transpose them to the current context as sets of alternative "branches". In a certain sense what we are doing is to /unmerge/ all conflicted patches, if possible, regarding those which we cannot unmerge as resolved. But the the term "unmerge" already has a precise meaning as the opposite operation to "merge", so I'd rather not use that. One idea I had is to recycle David's original term "unravel". It is unique enough to not cause confusion, and short enough to use as part of identifiers. On a rather subjective note, I find the term "conflict unravelling" quite catchy, inviting curiosity as to what it's precise definition might be. What do you think? Cheers Ben _______________________________________________ darcs-devel mailing list [email protected] https://lists.darcs.net/mailman/listinfo/darcs-devel
