【问题标题】:What happend to my google code svn?我的谷歌代码svn怎么了?
【发布时间】:2011-02-19 14:12:52
【问题描述】:

为什么它不会提交(我已经在我的谷歌代码帐户上对那个单个项目进行了 200 多次提交,现在它以某种方式阻止了我提交 =( 龟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)

我在不同的 brunces 上尝试了不同的文件,但一直出现相同的错误=(我该怎么办?

【问题讨论】:

    标签: svn google-code


    【解决方案1】:

    试试这个:

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

    【讨论】:

      【解决方案2】:

      我刚遇到这个问题。通过在 VS.NET 中删除我的身份验证缓存来解决:工具 -> 选项... -> 源代码管理 -> 颠覆环境 -> 身份验证缓存编辑 -> 删除您的服务器/领域

      【讨论】:

        【解决方案3】:

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

        这通常会返回一个 403 错误,所以我不确定它是否与 Googlecode 的错误相同。

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

        【讨论】:

        • 可怕的“MKACTIVITY”是什么意思?
        • 表示“进行活动”。它将活动记录在日志文件中。
        【解决方案4】:

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

        通过从svn断开然后重新连接来解决它。 (团队-> 断开连接)

        【讨论】:

          【解决方案5】:

          在窗口中 选择文件夹结帐->单击鼠标右键->选择tortois SVN->选择重定位

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

          See this screenshot.

          【讨论】:

            猜你喜欢
            • 2012-06-27
            • 1970-01-01
            • 1970-01-01
            • 2011-07-15
            • 2010-09-13
            • 2017-12-25
            • 2014-06-14
            • 1970-01-01
            • 1970-01-01
            相关资源
            最近更新 更多