学习用 bzr 提交代码
- 
- 首先 ,拉下代码
 bzr branch http://code.launchpad.net/~openerp-chinese-team/openerp-china/7.0 br />
 2. 更新代码
 bzr pull
 3. 指定 用户名
 bzr whoami "ccdos<[email protected]>"
 bzr whoami
 ccdos<[email protected]>
 5. 证书处理
 puttygen.exe 生成一对证书,公钥上传 到 LP
 本地用 pageant.exe 启动,添加 私钥证书,待用
 4. 修改代码,完工后 ,message 后面是注释
 bzr commit --message ccdos
 5. 修改配置文件
 openerp-china\7.0.bzr\branch\branch.conf
 内容如下:
 ;parent_location = http://bazaar.launchpad.net/~openerp-chinese-team/openerp-china/7.0/ br />
 parent_location = bzr+ssh://bazaar.launchpad.net/%2Bbranch/openerp-china/7.0/
 push_location = bzr+ssh://bazaar.launchpad.net/%2Bbranch/openerp-china/7.0/
 6. 提交代码 :
 push
 bzr push
 Using saved push location: bzr+ssh://bazaar.launchpad.net/%2Bbranch/openerp-china/7.0/
 Connected (version 2.0, client Twisted)
 Authentication (publickey) successful!
 Secsh channel 1 opened.
 Pushed up to revision 6.
 OK!
 最后 是广告时间:
 召集帖:完善OpenERP7.0的中国会计模块<br / [检测到链接无效,已移除] br />
 再插一个,鄙人首发地址<br / http://user.qzone.qq.com/1431494/blog/1355814844 br />
 最最后,谢谢总监 关键处的指点
 
- 首先 ,拉下代码
- 
Linux系统只是第5步区别,其他同win系统 
 5. 证书处理
 在用普通用户下
 1、sudo apt-get install openssh-client
 2、ssh-keygen -t rsa
 根据提示在用户目录下生成 .ssh/ 生成 id_rsa 和 id_rsa.pub
 私钥如果不是默认id_rsa ,是 xxx_rsa 则需在 .ssh/下写config文件
 内容:
 Host bazaar.launchpad.net
 IdentityFile /home/me/.ssh/xxx_rsa
 User launchpad-username
 3、 打开 id_rsa.pub,把key内容贴到Launchpad上ssh keys


