LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1176|回复: 5

有人做过Subversion上传code.google.com吗

[复制链接]
发表于 2009-12-26 10:50:17 | 显示全部楼层 |阅读模式
如果您做,请说说你的流程,一直没把iptux上传上去,很窘啊
 楼主| 发表于 2009-12-26 10:54:16 | 显示全部楼层
我当前目录下有个iptux-0.5.1
用:
svn checkout https://iptux.googlecode.com/svn/trunk/ iptux --username kingbo@126.com
是从网上下载了源码
而用:
vn checkout https://iptux.googlecode.com/svn/trunk/ iptux-0.5.1 --username kingbo@126.com
提示:
svn: 方法 OPTIONS 失败于 “https://iptux.googlecode.com/svn/trunk”: SSL handshake failed: 安全连接切断 (https://iptux.googlecode.com)
有时会有提示输入密码,一般不提示。
一直听说Subversion很好用,真不懂啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-26 10:56:03 | 显示全部楼层
网上看的基本上都是windows下TortoiseSVN
回复 支持 反对

使用道具 举报

发表于 2009-12-26 12:17:07 | 显示全部楼层
LZ 之前用过Subversion吗?

从你使用的命令上看,就用了checkout(签出代码),这怎么可能上传代码? 另外,SVN的版本号也不是这么加的。

建议:找本SVN的书看看,建立正确的SVN概念。

http://svnbook.red-bean.com/index.zh.html

可以下电子书,有中文版。

我自己有一些代码在googlecode上托管,通常的工作流程是这样的:

1.  以管理者签出代码。这个命令在你 Google Code 主页上的 Source 标签页有提示:


  1. svn checkout https://myproject.googlecode.com/svn/trunk/projectname --username MyUsername
复制代码


2. 修改代码;

3. 提交修改后的代码:


  1. svn ci -m "Your comments to the submittion."
复制代码


当然,其他人也可以获取你在 Google Code 上托管的代码,但是不能提交修改后的代码:


  1. svn checkout http://myproject.googlecode.com/svn/trunk/projectname project-read-only
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-12-26 13:53:16 | 显示全部楼层
Post by kingbo;2059412
我当前目录下有个iptux-0.5.1
用:
svn checkout https://iptux.googlecode.com/svn/trunk/ iptux --username kingbo@126.com
是从网上下载了源码
而用:
vn checkout https://iptux.googlecode.com/svn/trunk/ iptux-0.5.1 --username kingbo@126.com
提示:
svn: 方法 OPTIONS 失败于 “https://iptux.googlecode.com/svn/trunk”: SSL handshake failed: 安全连接切断 (https://iptux.googlecode.com)
有时会有提示输入密码,一般不提示。
一直听说Subversion很好用,真不懂啊


我昨天在分一个 release tag 的时候也出现这个问题
应该是 google 的问题,过十几分钟后就可以

mercurial 也不错,要不要试一下,google code 已经支持了。

svn 看 svnbook http://svnbook.red-bean.com/
mercurial 看 hgbook http://hgbook.red-bean.com/
git 有 Pro Git http://progit.org/book/
都可以在线看的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-26 19:09:44 | 显示全部楼层
4楼的说的和我想的一样,我也是怎么看checkout怎么象获取,用commit又没得提供上传网址的地方,呵呵,一头雾水
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表