[MERGE] Make mail-to address in ``bzr send`` optional for interactive mail clients
Lukáš Lalinský
lalinsky at gmail.com
Mon Nov 26 20:33:36 GMT 2007
On Po, 2007-11-26 at 14:19 -0600, John Arbash Meinel wrote:
> I believe the default for "bzr send" is to write to stdout. So it may be weird
> to have plain "bzr send" sometimes write to stdout and sometimes spawn a mail
> editor depending on the config settings.
The default for "bzr send" is to send e-mail and that requires either
submit_to config or --mail-to command line argument.
> This is certainly an argument in favor of requiring -o-. AIUI, we retained "bzr
> send > foo.patch" behavior because it was the old bundle behavior. But then
> didn't we split bundle out into its own command again?
That's "bzr bundle > foo.patch", not "bzr send > foo.patch".
> I think Aaron's comment is that you can do something like (this is my config):
>
> [/home/jameinel/dev/bzr]
> submit_branch=/home/jameinel/dev/bzr/bzr.dev
> submit_to = Bazaar Mailing List <bazaar at lists.canonical.com>
>
> [/home/jameinel/dev/bzr/bzr.dev]
> public_location=http://bazaar-vcs.org/bzr/bzr.dev
> Which will have it look up the public_location for the submission branch, but
> still use your local mirror to search for missing revisions.
There is no good way to set this value, except manual config editing and
it currently doesn't inherit submit_to config from the target branch.
And setting this option per-branch is even more work than using the
--mail-to option.
Either way, typing the first few letters in Evolution and let it
auto-complete the address from my address book is IMO the simplest way
to set the address.
Lukas
More information about the bazaar
mailing list