[RFC] reduce Cc: prompts in hg email
Christian Ebert
blacktrash at gmx.net
Mon Jan 25 05:15:42 CST 2010
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
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)
1) is easy to implement
Personally, I am definitely against 4), please not another
option, and Mercurial is not an email client.
But what do you think?
c
--
\black\trash movie _C O W B O Y_ _C A N O E_ _C O M A_
Ein deutscher Western/A German Western
--->> http://www.blacktrash.org/underdogma/ccc.php
More information about the Mercurial
mailing list