svn库名尽量使用小写
来源:互联网 发布:软件开发的职业规划 编辑:程序博客网 时间:2024/05/29 14:22
http://blog.alagad.com/2007/11/12/subversion-mkactivity-and-403-forbidden-headaches/
Subversion, MKACTIVITY, and 403 forbidden Headaches
This is just a quick blog entry to hopefully help other people who end up in a similar situation as I did this morning. Specifically, I’ve been contributing to a new project and when to commit my updates into subversion this morning only to receive this lovely error:
svn: Commit failed (details follow):
svn: Commit failed (details follow):
svn: MKACTIVITY of ‘/foobar/!svn/act/1f177b34-1601-0010-84ad-c180bd3a7ab5′: 403 Forbidden (http:/svn.foobar.com)
Now, despite this errors’ clarity and obviousness, it took my team about an hour and half to work out.
A check of the configuration files on our Subversion server confirmed that I was in a group which had read and write access and that others on this project were quite able to commit to the repository.
Also, I was able to commit to other repositories using the exact same permissions. I mean, literally, the groups and rights defined were the same.
I could checkout from the repository with no problems as well.
The log files were a mess of uselessness too.
A Googling of the problem turned up many cases where users had upgraded from earlier versions of Subversion to the latest, which, in fact, we recently did. However the repository in question was a new one and had never existed in previous installations. Nothing else we could find seemed to have any bearing on the problem.
To make sure it wasn’t a bug in Subclipse I went to a different machine and checked out and tried to commit some changes to the same effect.
After quite a while we tried something that seemed to us to be a longshot. The casing in my svn url was not exactly the same as the repository name on disk. For example:
My URL: http:/svn.foobar.com/foobar
The repository’s name however, was fooBar.
Clearly the repo name is not realy, fooBar. But, you get the picture. The case was different.
So, despite the fact that Subversion and Apache were running on windows it was suggested that I try changing the case and try again. I did, and to my surprise, it worked!
So, next time you have bizarre problems with Subversion, MKACTIVITY, and 403 Forbidden, double check your casing. Even on Windows.
- svn库名尽量使用小写
- HTML5标签名小写
- 属性名小写的错误.
- 使用svn时,类名冲突
- 尽量减少使用~/
- 尽量使用const
- 尽量少使用unsigned
- 尽量多使用const
- 尽量不要使用FindWindow
- 尽量不要使用全局变量
- 尽量使用常量引用
- 尽量不要使用触发器
- 尽量不要使用 distinct
- 尽量不要使用塑料制品
- 尽量使用JAVA类库
- ORACLE表名与列名小写转成大写
- 尽量不要使用匿名类
- 尽量不要使用文本模式
- RelativeLayout 在代码段里设置大小
- Vacation 自动回信程序
- EditText输入事件截获与监听
- Nine Javascript Gotchas
- 一个简单的CDIB类
- svn库名尽量使用小写
- android优化原则
- [Android实例] android多点触摸demo .
- PHP 中执行排序与 MySQL 中排序
- android图片的缩放 .
- swing初步学习:第一天:
- 插入排序
- JavaScript的事件深入理解
- android webview读取html和js .