The simplest possible hack to fix the --to-patch and --to-match
flags (patch1226 has some history of the problem).
I did briefly consider updating the code that's called to
use a better representation of the match flags, but decided
that would be too much effort/have too much collateral impact.
1 patch for repository darcs-unstable@darcs.net:screened:
Wed Nov 19 06:48:24 GMT 2014 Ganesh Sittampalam <ganesh@earth.li>
* fix the --to-patch and --to-match flags
Before the options rewrite, clone used to treat these flags
as if they were --patch and --match, and other commands treated
them normally. In the rewrite, the clone behaviour accidentally
got extended to the other commands.
This fixes them to behave as expected, and explicitly translates
them in the case of clone.
I'm not a 100% confident about the whole flag system refactoring, but
this patch does what it description says and it has been here for a
while, so I'll accept it (also goes into 2.10 as it is a bugfix).