如何在 subversion 配置文件的 auto-props 部分编写多行属性?

发布于 2024-09-26 11:46:34 字数 183 浏览 1 评论 0原文

正确的语法是什么?

[auto-props]
*.* = svn:ignore=bin
obj

[auto-props]
*.* = svn:ignore=bin;obj

没有?是否可以在配置文件中写入多行属性?

What is the correct syntax?

[auto-props]
*.* = svn:ignore=bin
obj

or

[auto-props]
*.* = svn:ignore=bin;obj

or none? Is it possible to write multi-line properties in the config file?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹿童谣 2024-10-03 11:46:34

在这种特殊情况下,我发现实现我想要实现的目标的正确方法是在配置文件中包含以下几行:

[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-道具

In this particular case I found out that the right way of doing what I was trying to achieve was to include the following lines in the config file:

[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

So I think the same syntax (space as line separator) would apply for auto-props

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文