-
Matt Harbison authored
Aside from the customization of fetching the password from the store, I left the default config arg for `smtp.tls` and the `util.safehasattr(socket, 'ssl')` check for TLS to support ancient Mercurial versions. I think this area could be improved greatly by changing Mercurial to have a separate function that fetches the username/password that this extension could wrap and replace, and another function that can be given a username/password to try the login. That would eliminate a lot of code duplication that I'm not entirely convinced is py3 safe in core Mercurial, such as passing the exception to `error.Abort` a couple lines below.
acc2430756a9