The options for darcs changes (aka log) seem to have accumulated in a
rather random fashion. In particular it is unclear how these options
interact when more than one of them are given simultaneously:
--human-readable
--machine-readable (currently not available to users)
--count
--number
--xml-output
--interactive
--all/--no-interactive
The code in Darcs.UI.Commands.Log is quite inscrutable due to the
explicit flag testing in many different places. --count is currently
broken when used in combination with --interactive or --no-interactive:
in both cases, --count is ignored. I think it should instead override
any interactivity options. I think this broke when the new options
system was added, but before I fix it, we should have a clearer idea
what the specification of (the interaction of) these options is.
|