相关疑难解决方法(0)

如何在Mercurial/TortoiseHg中完全禁用SSL证书检查?

我正在寻找一种方法,使--insecure选项成为任何hg\ TortoiseHg命令的默认选项.

请不要写这是一个不好的做法 - 我知道可能的风险并认为它们是完全可以接受的.

ssl mercurial tortoisehg

42
推荐指数
3
解决办法
3万
查看次数

如何从Mercurial签出源代码

我需要从Mercurial下载源代码.

$ hg clone xmppframework.googlecode.com/hg xmppframework 
  warning: xmppframework.googlecode.com certificate with fingerprint b1:af:83:76:f3:81:b0:57:70:d8:07:42:c8:c1:b3:67:38:c8:7a:bc not verified (check hostfingerprints or web.cacerts config setting) 
  requesting all changes 
  adding changesets 
  adding manifests 
  adding file changes
Run Code Online (Sandbox Code Playgroud)

我在终端尝试使用此链接下载源代码.但命令失败.

任何人都可以帮我摆脱这个.

感谢所有人,Madan.

mercurial

11
推荐指数
1
解决办法
1万
查看次数

Netbeans&Mercurial - 使用自签名证书从服务器克隆存储库

我有一个共享mercurial存储库的Web服务器.它使用自签名证书在HTTPS中共享项目.

如果我想克隆存储库,我可以使用该命令(注意 - 不要担心证书的--insecure选项).

hg clone --insecure https://server/repository
Run Code Online (Sandbox Code Playgroud)

我的问题是:如何使用Netbeans Mercurial插件.如果我尝试这样做,我有以下错误:

Output: [abort: error: _ssl.c:490: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed]
Run Code Online (Sandbox Code Playgroud)

谢谢

mercurial netbeans ssl-certificate

7
推荐指数
1
解决办法
5102
查看次数

没有名为 sh 的模块

我安装了sh原生Python,并开始使用命令来安装:

$ pip install sh
  Collecting sh
  Could not fetch URL https://pypi.python.org/simple/sh/: There was a problem confirming the ssl 
  certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
  Could not find a version that satisfies the requirement sh (from versions: )
  No matching distribution found for sh
Run Code Online (Sandbox Code Playgroud)

当上述失败时,我下载sh-1.12.14-py2.py3-none-any.whl安装到本地:

$ pip install
/Users/zhangkuixun/Downloads/sh-1.12.14-py2.py3-none-any.whl
Requirement
'/Users/zhangkuixun/Downloads/sh-1.12.14-py2.py3-none-any.whl' looks
like a filename, but the file does not exist
Processing ./Downloads/sh-1.12.14-py2.py3-none-any.whl
Exception: 

Traceback (most recent call last):
   File
"/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/basecommand.py",
line …
Run Code Online (Sandbox Code Playgroud)

python pip python-2.7

5
推荐指数
1
解决办法
1万
查看次数