darcs patch: fix darcs-all --complete
isaacdupree at charter.net
Sun Aug 12 17:56:03 EDT 2007
Ian Lynagh wrote:
> On Thu, Aug 09, 2007 at 02:05:06PM -0300, Isaac Dupree wrote:
>> Thu Aug 9 12:22:17 BRT 2007 Isaac Dupree <id at isaac.cedarswampstudios.org>
>> * fix darcs-all --complete
>> It was passing --complete on to darcs, which made darcs fail.
> What version of darcs, and with which darcs command?
> "darcs get --complete" shouldn't fail, and you shouldn't be using
> --complete with any other command.
./darcs-all --testsuite --nofib --complete get
== running darcs --complete get
darcs failed: Invalid command '--complete'!
It appears I was confused and that it works if, and only if, --complete
comes after the command (get). I wonder how I was supposed to figure
that out? without, *darcs-all* says
warning: adding --partial, to override use --complete
So I gave --complete as a flag to darcs-all, rather than to darcs get,
because it seemed like it was the right thing to do. And then darcs
gives an error making it sound like it doesn't handle the --complete
flag! argh. maybe
warning: adding `--partial', to override use `get --complete'
Although darcs could *also* improve its error message when a flag is
given before a command is...
More information about the Cvs-ghc