叫你怎么下载开源代码,例如:hg clone https://gtalksms.googlecode.com/hg/ gtalksms .

svn的就不说了,git的也不说了,这些都是常用的,直说hg

 

图很直观

叫你怎么下载开源代码,例如:hg clone https://gtalksms.googlecode.com/hg/ gtalksms .叫你怎么下载开源代码,例如:hg clone https://gtalksms.googlecode.com/hg/ gtalksms .叫你怎么下载开源代码,例如:hg clone https://gtalksms.googlecode.com/hg/ gtalksms .

 

如果clone碰到如下问题:

中止: hg.kenai.com certificate error: certificate is for kenai.com
hint: configure hostfingerprint 9c:f6:c3:1f:14:bc:98:82:de:2a:5b:6e:d2:ce:61:5d:95:e1:65:a5 or use --insecure to connect insecurely

 

第一个办法

可以修改C:\softWare\TortoiseHg\hgrc.d\目录下的Paths.rc文件

用记事本打开看到如下:

[web]
cacerts=C:\softWare\TortoiseHg\hgrc.d\cacert.pem

 

换行最后添加内容修改成如下内容即可:

[web]
cacerts=C:\softWare\TortoiseHg\hgrc.d\cacert.pem
[hostfingerprints]
hg.kenai.com = 9c:f6:c3:1f:14:bc:98:82:de:2a:5b:6e:d2:ce:61:5d:95:e1:65:a5

 

 

 

另外一个解决办法

就是用CMD命令行来进行:

C:\Documents and Settings\dami>hg clone --insecure https://hg.kenai.com/hg/nban
roid~mercurial
warning: hg.kenai.com certificate with fingerprint 9c:f6:c3:1f:14:bc:98:82:de:2
:5b:6e:d2:ce:61:5d:95:e1:65:a5 not verified (check hostfingerprints or web.cace
ts config setting)
destination directory: nbandroid~mercurial
requesting all changes
adding changesets
adding manifests
adding file changes

 

你可能感兴趣的:(Google)