[darcs-devel] [issue2482] darcs mark-conflicts FILE

Ben Franksen bugs at darcs.net
Wed Mar 9 02:40:32 UTC 2016


Ben Franksen <benjamin.franksen at helmholtz-berlin.de> added the comment:

I have a working patch for this (tested in simple scenarios). Could be
ready for 2.12.

As usual I got side-tracked by trying to implement something much
better. Instead of just limiting the destruction to the files given on
the command line, why not try to /merge/ the markup with the working
tree? But this needs to be a special merge, one that /refuses/ to add
new conflicts and instead offers the user a choice to (a) keep the
working tree version, discarding the markup that conflicts with the
user's changes, or (b) replace the user's changes with the markup
(defaulting to (a) as the less destructive choice). The choice should be
offered on a per-hunk basis and only when necessary, automatically
keeping as much of the user's changes as possible.

----------
priority: bug -> feature
status: unknown -> needs-implementation

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2482>
__________________________________


More information about the darcs-devel mailing list