GoogleCode SVN使用记录

    GoogleCode使用的密码不是Gmail的密码,而是由GoogleCode随机生成的密码,不能指定,只有再次由系统随机生成。用户名为Gmail地址的@前面部分。

    如果使用的邮箱不是Gmail,那么在验证的时候需要使用邮件地址为用户名,密码也得去GoogleCode自己的Profile下的settings查看。

   要想以后能上传修改好的代码,在checkout的时候那个地址得用https。如果用http,那个随便你怎么弄,而且用户名密码都是对的依然提示什么地址不存在等各种错误。这个时候你删除之前的目录,重新svn checkout一遍,地址使用https就没问题了,建议在验证的时候保存验证,不然以后每次都要验证一次。

还有一个问题,项目地址GoogleCode给出的是

If you plan to make changes, use this command to check out the code as yourself using HTTPS:

# Project members authenticate over HTTPS to allow committing changes.
svn checkout https://libfetion-gui-wince.googlecode.com/svn/trunk/ libfetion-gui-wince --username daviyang35

When prompted, enter your generated googlecode.com password.

Use this command to anonymously check out the latest project source code:

# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://libfetion-gui-wince.googlecode.com/svn/trunk/ libfetion-gui-wince-read-only

上面的https地址是https://libfetion-gui-wince.googlecode.com/svn/trunk/ libfetion-gui-wince

其实很多人没有在一个项目下建立不同的项目,上面的libfetion-gui-wince就是这样的,他就是我们的主项目,他的下面没有libfetion-gui-wince这个目录。使用GoogleCode自动给出的地址去checkout会提示没有这个地址。其实删去后面的项目名

只使用https 就没有问题了。://libfetion-gui-wince.googlecode.com/svn/trunk/

帖个GoogleCode上的 《Subversion 权威指南》

http://i18n-zh.googlecode.com/svn-history/r734/www/svnbook-1.4/index.html

posted @ 2011-08-29 01:15  翔飞  阅读(1014)  评论(0编辑  收藏  举报