最新消息:20210917 已从crifan.com换到crifan.org

【已解决】TortoiseSVN中Commit出错:Commit failed,Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for xxx

工作和技术 crifan 3230浏览 0评论

【问题】

google code上的一个项目,

先在退出模式下,用:

http://insertskydrivefiles.googlecode.com/svn/trunk/

checkout了相关的源码,然后添加新代码后,再commit上去,结果出错:

Command: Commit  
Error: Commit failed (details follow):  
Error: Server sent unexpected return value (405 Method Not Allowed) in response to  
Error:  MKACTIVITY request for '/svn/!svn/act/a2010d7f-9eb5-eb4e-97c8-f9e98dfe3e96'
Completed!:

截图:

   

【解决过程】

1.重试了几次,结果错误依旧。

2.后来发现,貌似是由于此处是logout了,导致获得的svn地址后,无法正常上传。

所以就尝试,先去登陆google code,然后得到的地址是:

https://insertskydrivefiles.googlecode.com/svn/trunk/

即https类型的地址,此时,再去上传,就可以正常了,就跳出验证界面了:


 

【总结】

TortoiseSVN中Commit出错:

Commit failed,Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for xxx

原因是,当前没有权限上传。

此处具体的原因在于,http的google code中的svn地址,是只读read-only的。

而登陆后获得的https的svn地址,(输入用户名和密码后)才是可以有上传权限的。

转载请注明:在路上 » 【已解决】TortoiseSVN中Commit出错:Commit failed,Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for xxx

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

网友最新评论 (1)

  1. 多谢楼主分享,纠结一上午的问题,根据你这个方法解决了
    路人11年前 (2013-06-25)回复
100 queries in 0.213 seconds, using 23.35MB memory