[darcs-users] darcs patch: Resolve issue1588: make--dont-allow-conflicts filter ...
benjamin.franksen at bessy.de
Mon Oct 5 16:42:25 UTC 2009
Eric Kow wrote:
> On Mon, Oct 05, 2009 at 14:28:29 +0100, Sittampalam, Ganesh wrote:
>> With just --don't-allow-conflicts, conflicting patches are presented
>> during interactive selection, but selecting one causes a later failure.
>> With just --skip-conflicts, conflicting patches are not presented during
>> interactive selection.
> It sounds like we have really three cascading choices here:
> With the each later one in the sequence being effectively meaningless
> if you select 'dont' for the one before it.
I suggest that /any/ tuple of mutually exclusive options be bundled into one
option with an argument:
(Please read on before answering, this is not my final proposal.)
This makes the that fact that they are mutually exclusive much more obvious
to the user. It also reduces the number of option names the user has to
remember and removes the confusion resulting from different ways to express
negation (as in --dont-compress vs. --no-summary).
In this particular case I'd argue for an enumeration of all sensible
combinations, especially since they are nested:
no conflicts allowed, don't even offer conflicting patches
offer (list) conflicting patches but do not allow them to be applied
allow conflicts, don't mark them
allow conflicts, mark them (default)
(Please regard the names of the option values as provisional, they an surely
One point to consider w.r.t. 'offer': This would be a lot more useful if the
user is forewarned that she will not be able to apply the patch (taking
patches the user has already selected into consideration, if necessary).
More information about the darcs-users