读书人

google code用svn上传代码如何没提示小

发布时间: 2012-05-13 16:39:43 作者: rapoo

google code用svn上传代码怎么没提示我输入密码?
点击google code里source的标签:
Get a local copy of the qtsearchfile repository with this command:

hg clone https://qtsearchfile.googlecode.com/hg/ qtsearchfile

To push your changes, authenticate with your Google Account and your generated googlecode.com password.

为什么地址不是https://qtsearchfile.googlecode.com/svn/trunk,我使用https://qtsearchfile.googlecode.com/svn/trunk提交后就出现:
提交
提交失败(细节如下):
服务器发送了意外的返回值(405 Method Not Allowed),在响应 “MKACTIVITY” 的请求
“/svn/!svn/act/a81b40e4-beb2-b042-b5b0-71c0988ba957” 中

[解决办法]
你在建项目的时候,选错了版本管理工具了。
比如,我使用Subversion的时候,是这样的:

C/C++ code
Command-line accessIf 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://portablecb.googlecode.com/svn/trunk/ portablecb --username loadenWhen 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://portablecb.googlecode.com/svn/trunk/ portablecb-read-only
[解决办法]
估计你曾经Save authenticate 了。

读书人网 >C++

热点推荐