【问题】
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