我的谷歌代码svn怎么了?

时间:2011-02-19 14:12:52

标签: svn google-code

为什么它不会提交(我在我的谷歌代码帐户上做了超过200次提交到该单个项目,现在它以某种方式阻止我提交=( tortois SVN:

Commit
Commit failed (details follow):
Server sent unexpected return value (405 Method Not Allowed) in response to 
MKACTIVITY request for '/svn/!svn/act/81a42074-ce30-7442-90d9-99893693ce62'

SharpSVN

SharpSvn.SvnRepositoryIOException: Commit failed (details follow): ---> SharpSvn.SvnRepositoryIOException: Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for '/svn/!svn/act/651b9f6b-736c-534d-b0e6-29c7071ef741'
   --- End of inner exception stack trace ---
   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets)
   at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets)
   at SharpSvn.SvnClient.Commit(ICollection`1 paths, SvnCommitArgs args, SvnCommitResult& result)
   at Ankh.Services.PendingChanges.PendingChangeHandler.<>c__DisplayClass15.<Commit_CommitToRepository>b__14(Object sender, ProgressWorkerArgs e)
   at Ankh.ProgressRunnerService.ProgressRunner.Run(Object arg)

我尝试了不同文件上的不同文件,但同样的错误一直很长=(我该怎么办?

5 个答案:

答案 0 :(得分:4)

试试这个:

svn switch --relocate http://foo.googlecode.com/svn/trunk/ \
                      https://foo.googlecode.com/svn/trunk/ \
           --username foo@bar.com

答案 1 :(得分:3)

我刚遇到这个问题。通过在VS.NET中删除我的身份验证缓存解决:工具 - &gt;选项...... - &gt;源控制 - &gt; Subversion Environnment - &gt;身份验证缓存编辑 - &gt;删除您的服务器/领域

答案 2 :(得分:2)

您是否检查过外壳是否正确 - svn区分大小写。如果您尝试使用来自存储库的不同来源的URL进行提交,它将尝试提交新的repo(这是unix世界中的标准,您可以在同一目录中拥有两个名为README和readme的文件)。但是,后端系统不允许您仅从提交创建新的存储库并返回该错误。

这通常会返回403错误,所以我不确定Googlecode是否也是一样的错误。

我知道如果你在使用https时尝试使用http提交,那么googlecode会给你405错误。

答案 3 :(得分:2)

我使用eclipse + subclipse遇到了同样的问题。

通过断开与svn的连接解决它,然后再次连接。 (团队 - >断开连接)

答案 4 :(得分:0)

在Windows中

选择文件夹结帐 - &gt;点击鼠标右键 - &gt;选择tortois SVN - &gt;选择重新安置

更改网址http://xxxxx.googlecode.com/svn/trunk/https://xxxxx.googlecode.com/svn/trunk/

See this screenshot.

相关问题