svn 只输入一次密码

svn从版本库co代码时,一般每一个版本库都需要输入一次密码,比较麻烦。才知道原来可以只输入一次就搞定,瞬间感觉高上大啊!

echo "Username: "
read username
echo "Password for $username: "
read -s password
svn --username $username --password $password co http://svn.sogou-inc.com/svn/rd_modules/encoding/tags/web.ssplatform-encoding.20130532.a ssplatform-encoding
svn --username $username --password $password co http://svn.sogou-inc.com/svn/websearch4/web/web_base/tags/web.web_base.20131012.a web_base
svn --username $username --password $password co http://svn.sogou-inc.com/svn/websearch4/web/web_segmentor_dicmap/tags/dicmap_xml_20140514.b dicmap
svn --username $username --password $password co http://svn.sogou-inc.com/svn/word_segmentor/CoreSegmentor/tags/coresegmentor_xml_4.19.20140211.a word_segmentor
svn --username $username --password $password co http://svn.sogou-inc.com/svn/websearch4/web/web_segmentor/tags/web.web_segmentor.20140306.a web_segmentor
svn --username $username --password $password co http://svn.sogou-inc.com/svn/websearch4/web/web_nlp/pinyinannotation/tags/pinyinannotation.20130710.a pinyinannotation
svn --username $username --password $password co http://svn.sogou-inc.com/svn/websearch4/web/web_nlp/query_corrector/tags/web.qc.QO.rh6.20140514.a query_corrector
svn --username $username --password $password co http://svn.sogou-inc.com/svn/websearch4/web/ods_utils/tags/ods_utils.rh6.20130709.a/ utils
svn --username $username --password $password co http://svn.sogou-inc.com/svn/websearch4/web/shared_hash/tags/shared_hash.20140210.a shared_hash
svn --username $username --password $password co http://svn.sogou-inc.com/svn/websearch4/web/web_tflag/tags/web.web_tflag.20131218.a web_tflag

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值