In theory, darcs convert should try to convert mergers into conflictors.
Although it won't be possible to do this faithfully for all mergers, it
should at least make an attempt.
In this patch, code that does make an attempt was introduced:
Thu Mar 6 16:49:45 GMT 2008 David Roundy <droundy@darcs.net>
* make convert less lossy (may address issue585, at least partially).
However, this patch seems to have accidentally disabled this:
Wed Mar 26 17:31:21 GMT 2008 David Roundy <droundy@darcs.net>
* resolve issue744: have convert remove some useless mv patches.
The problem is that the patch introduces a call to modernize_patch,
which unconditionally flattens out mergers, making the subsequent
attempts at turning mergers into conflictors rather irrelevant.
Given that this behaviour has been present in all releases of darcs 2, I
don't know if we should actually try to fix it, but it's at least worth
having the history of the code documented.
|