如何在subversion配置文件的“自动实践”部分中编写多行属性?
-
28-09-2019 - |
题
什么是正确的语法?
[auto-props]
*.* = svn:ignore=bin
obj
或者
[auto-props]
*.* = svn:ignore=bin;obj
还是没有?是否可以在配置文件中编写多行属性?
解决方案
在这种特殊情况下,我发现正确的做法方法是在配置文件中包括以下几行:
[miscellany]
### 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.
global-ignores = bin obj
因此,我认为相同的语法(空间与行分隔符)将适用 auto-props
不隶属于 StackOverflow