I can believe fly.

Monday, February 20, 2017

HG使用笔记

准备

取代码
hg clone --insecure https://172.18.100.116/sdk/iPhone iPhone

更新代码

FAQ
【问题】window下操作hg命令报错:abort: error: _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICAT
E:certificate verify failed
【解决】编辑%USERPROFILE%\mercurial
[auth]
bj.prefix=https://1.2.3.4/hgrepo
bj.username=yusulian
bj.password=xxxxxx
[hostfingerprints]
1.2.3.4=ce:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx

[ui]
username =yusulian

【问题】waiting for lock on working directory of /data/_BUILD/mobilebuild/sdk/sdk-android_test held by 'ub-1204-64-ci:10065'
【解决】sudo rm .hg/wlock 




No comments: