[RFC] reduce Cc: prompts in hg email
Martin Geisler
mg at lazybytes.net
Mon Jan 25 05:55:13 CST 2010
Christian Ebert <blacktrash at gmx.net> writes:
> Hello all,
>
> At the moment the only way to turn off the Cc: prompt when you are
> using patchbomb is to have email|patchbomb.cc configured in your hgrc.
> Reducing the occasions for the Cc would mean a (minor) behaviour
> change.
>
> Some of the alternatives (no cc in hgrc):
>
> 1) Turn off Cc prompt altogether (behaviour like bcc)
> 2) Turn off Cc prompt when
> [email]
> cc =
> "empty" value in hgrc
> 3) Turn off Cc prompt when --to option is given
> 4) Introduce a new config option, like askcc
>
> I've submitted proposals for:
>
> 2)
> http://www.selenic.com/pipermail/mercurial-devel/2010-January/018150.html
> disadvantage: turns cc "magicly" into a boolean
Yeah, that's not so nice.
> 3)
> http://www.selenic.com/pipermail/mercurial-devel/2010-January/018158.html
>
> I include the behaviour table for 3) again here (changes marked *):
>
> opts hgrc prompt result
> new/old
>
> to NO/cc to (opts) *
> to to NO/cc to (opts) *
> to cc NO to (opts), cc (hgrc)
> to to, cc NO to (opts), cc (hgrc)
>
> to, cc NO to (opts), cc (opts)
> to, cc to NO to (opts), cc (opts)
> to, cc cc NO to (opts), cc (opts)
> to, cc to, cc NO to (opts), cc (opts)
>
> cc to to (prompt), cc (opts)
> cc to NO to (hgrc), cc (opts)
> cc cc cc to (prompt), cc (opts)
> cc to, cc NO to (hgrc), cc (opts)
>
> to, cc to (prompt), cc (prompt)
> to cc to (hgrc), cc (prompt)
> cc to to (opts), cc (hgrc)
> to, cc NO to (hgrc), cc (hgrc)
I like this option, thanks for making such a nice analysis :-) I haven't
taken the time to look at the patches yet and it's hard for me to say
when I'll do so. They wont be forgotten, they just might linger a bit
until I or someone else from crew pushes them.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
More information about the Mercurial
mailing list