scmutil: add an optional parameter to matcher factories for a bad() override
Even though scmutil.matchandpats() is documented to warn about bad files,
several callers silence the warning.
context: add an optional constructor parameter for a match.bad() override
Most matcher creation is done by way of a context.
match: add an optional constructor parameter for a bad() override
This will be used to eliminate monkey patching of new matcher instances that
weren't removed in
5984dd42e140::
1a95c57959f6.
mail: pass ui to sslutil.wrapsocket() even if verifycert is off (
issue4713)
21b536f01eda made 'ui' argument is passed via sslutil.sslkwargs(), but mailer
doesn't call sslkwargs() if smtp.verifycert is off. So we have to put it in
sslkwargs manually.