A partial fix for issue2546. It fixes only the implementation of
--to-xxx for clone. I am not yet screening it yet; I think that using
secondMatcher is correct but I am not 100% sure. Tests pass, of course,
but coverage for match options is weak, so this doesn't mean much.
1 patch for repository http://darcs.net/screened:
Author: Ben Franksen <email@example.com>
Date: Sat Aug 26 09:16:55 CEST 2017
* fix implementation of match options for clone
Instead of translating UpToX to OneX in the match flags, directly work
UpToX flags in hasPatchSetMatch and getOnePatchset. These are
only for the clone command. Note that secondMatcher is extended to
OneTag; this is justified as it also recognizes OnePatch and OneHash.