升级到mercurial 1.7.3之后,频繁会遇到像这样的错误:

1
warning: bitbucket.org certificate not verified (check web.cacerts config setting)

解决办法,参考链接:http://mercurial.selenic.com/wiki/CACertificates

下载http://curl.haxx.se/ca/cacert.pem到本地,然后在~/.hgrc里面添加这样一句:

1
2
[web]
cacerts=/path/to/cacert.pem

或者直接禁用:

1
2
[web]
cacerts =