我的 google 代码 svn 发生了什么?
为什么它不会提交(我已经在我的谷歌代码帐户上对单个项目进行了 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 上尝试了不同的文件,但一直出现相同的错误=(我该怎么办?
Why it would not commit (I had done more than 200 commits on my google code account into that single project and now it somehow stops me from committing =(
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)
I tried on different files on diffrent brunces but same error all way long=( What shall I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
试试这个:
Just try this:
我刚刚遇到这个问题。通过删除 VS.NET 中的身份验证缓存来解决:工具 ->选项... ->源代码控制 ->颠覆环境->身份验证缓存编辑->删除您的服务器/领域
I just had this problem. Solved by deleting my auth cache in VS.NET: Tools -> Options... -> Source Control -> Subversion Environnment -> Authentication Cache Edit -> Remove your server/realm
您是否检查过您的大小写是否正确 - svn 区分大小写。如果您尝试使用与存储库不同大小写的 url 进行提交,它将尝试提交一个新的存储库(这是 UNIX 世界中的标准,您可以在同一目录中拥有两个名为 README 和 readme 的文件)。但是,后端系统不允许您仅从提交创建新的存储库并返回该错误。
这通常会返回 403 错误,所以我不确定 Googlecode 是否也是同样的错误。
我确实知道,如果您在应该使用 https 时尝试使用 http 提交,那么 googlecode 会给您 405 错误。
Have you checked that your casing is correct - svn is case sensitive. If you try to commit with a differently cased url from your repository has, it will try to commit a new repo (this is standard in the unix world where you can have 2 files called README and readme in the same directory). However, the back-end system will not let you create a new repo just from a commit and returns that error.
That generally returns you a 403 error, so I'm not sure if it's the same error for Googlecode.
I do know that googlecode will give you the 405 error if you try to commit using http when you should be using https.
我使用 eclipse + subclipse 遇到了同样的问题。
通过断开与 svn 的连接,然后重新连接来解决。 (团队->断开连接)
I got the same issue using eclipse + subclipse.
Solved it by disconnecting from the svn and then connect again. (team-> disconnect)
在窗口中
选择文件夹结帐->点击鼠标右键->选择乌龟SVN->选择重新定位
更改网址
http://xxxxx.googlecode.com/svn/trunk/
到
https://xxxxx.googlecode.com/svn/trunk/
查看此屏幕截图.
in windows
select folder checkout -> click right mouse -> choose tortois SVN -> choose relocate
change url
http://xxxxx.googlecode.com/svn/trunk/
to
https://xxxxx.googlecode.com/svn/trunk/
See this screenshot.