SVN chechout 错误: xxx is not valid as filename in directory

来源:互联网 发布:淘宝素材图 编辑:程序博客网 时间:2024/06/05 06:13

用svn checkout的时候碰到“xxx is not valid as filename in directory”错误,导致checkout中断,后面的其他文件也都无法checkout。


百度搜索:“svn is not valid as filename in directory”,完全没有有用的信息!!!

翻墙google搜索,马上很多解决方案,比如:http://stackoverflow.com/questions/18452218/how-can-i-get-rid-of-the-error-folder-name-not-valid-as-filename-in-directory


意思就是Linux系统允许文件或文件夹的名字包含空格,而windows是不允许的。所以,解决的方法是用乌龟(SVN Repository Browser)去svn服务器中把该文件或文件夹中的空格去掉。


照做之后,问题立马消失!(天哪!!!为什么要把Google墙了啊???)



0 0