commit emails from a central server with bzr 2.6
Robert Collins
robertc at robertcollins.net
Fri Jun 7 03:32:30 UTC 2013
Oh..
On 7 June 2013 15:30, Robert Collins <robertc at robertcollins.net> wrote:
> On 7 June 2013 15:18, Glenn Morris <rgm at gnu.org> wrote:
>>
>> Last question, I hope... :)
>>
>> If I have the bzr-email plugin installed on my local machine, then when
>> I make a commit to the Emacs repo on Savannah, my local machine also
>> tries to send a commit email. This happens to fail (because my local
>> machine isn't configured to send external mail), but I'd still like to
>> stop it. I thought that adding an entry to ~/.bazaar/locations.conf on
>> my machine might do this:
>>
>> [bzr+ssh://USERNAME@bzr.savannah.gnu.org/emacs/*/]
>> post_commit_to = False
>>
>> But it just tries to send email to "False". Same with None, or [].
>> Is there a way to disable it locally, while still having it enabled on
>> the server?
>
> Try that, but
> post_commit_to = ""
>
> I hope a present key will override.
>
> If that doesn't work, we'll add a little override to let you force it
> on/off irrespective of being configured.
or set the push_pull setting *of* in your locations override, because
that is what the server is handling.
This is a little ugly I acknowledge, but I don't have time at the
moment to figure out how to tell the local bzr-email that bzr-email is
installed remotely and thus handling things.
-Rob
--
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Cloud Services
More information about the bazaar
mailing list