[chirp_devel] Gmail a patch direct from HG

Nicolas Pike
Mon Mar 12 17:30:18 PDT 2018


Hi,

I wanted to use gmail to send patch bomb emails directly from mercurial. I
looked at..

https://chirp.danplanet.com/projects/chirp/wiki/
DevelopersProcess#Setting-up-GMail-for-patchbomb-email

Some additional notes that might help people.

First ensure you have Two Factor Authentication enabled for your gmail
account.

Next setup an app password for mercurial

https://security.google.com/settings/security/apppasswords

Select app - Other
Enter - mercurial
Note the app_password

Then in your hgrc file add/update the smtp section

[smtp]
host = smtp.gmail.com
port = 587
tls = True
username = mygmailname at gmail.com
password = app_password

Then when you have prepared the patch and run

 hg email tip

Enter past the CC prompt

Hopefully the patch will be sent!

Thanks

Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20180313/49f515d6/attachment-0001.html 


More information about the chirp_devel mailing list