[darcs-devel] %< or %b as requirement for --sendmail-command?

David Roundy droundy at darcs.net
Sat Apr 5 16:19:21 UTC 2008


On Sat, Apr 05, 2008 at 05:05:40PM +0200, Marc Weber wrote:
> Hi,
> 
> I've been puzzled very much because
> darcs send --sendmail-commmand 'anyapp %t'
> 
> is allowed.. It can't receive the message body.
> Either %b or %< is missing.
>   example session:
>   [marc at nixos: /tmp/darcs2/darcs ]$ darcs send --to=marco-oweber at gmx.de --sendmail-command="./sendfake.sh" 
>   Creating patch to "/tmp/darcs"...
>   Fri Apr  4 14:41:56 CEST 2008  marco-oweber at gmx.de
>     * b added
>   Shall I send this patch? (1/1)  [ynWsfvpxdaqjk], or ? for help: y
>   Successfully sent patch bundle to: marco-oweber at gmx.de.
>   ^^^^^^^^ nothing has been sent!
> 
> So do you mind me writing a patch telling the user that he should add at
> least one of those?

That would be great.  Thanks!

Another option would be to simply make the default be %< if neither is
specified (and to document this).

> Is there another option but %b %< I should take care of?

I don't know.  I don't think that there are any other required flags.
-- 
David Roundy
Department of Physics
Oregon State University


More information about the darcs-devel mailing list