现在的位置: 首页 > 综合 > 正文

使用SVN命令行时,出现config:94:option expected的解决方案

2012年10月18日 ⁄ 综合 ⁄ 共 428字 ⁄ 字号 评论关闭
这个错误是说config文件的94行,有SVN无法识别的前置空格。如
### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output, and
### while importing or adding files and directories.
### '*' matches leading dots, e.g. '*.rej' matches '.foo.rej'.
 global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo
   *.rej *~ #*# .#* .*.swp .DS_Store *.ncb
global-ignores最前面有个空格,会导致出现option expected的错误,删除最前面空格就可以了。
要避免出现这个错误,应该在去掉这些行前的#时,也要顺手去掉前面的空格.

抱歉!评论已关闭.