如何在 Subversion 1.8 中设置 `svn:global-ignores`?

How do I set `svn:global-ignores` in Subversion 1.8?

Subversion 1.8 中有一个新的 svn:global-ignores 东西,但即使在阅读了复古网站上非常冗长的文档之后:

http://svnbook.red-bean.com/en/1.8/svn.advanced.props.special.ignore.html

我仍然none更了解这个字符串 svn:global-ignores 实际上 以及我如何设置它?

我的目标是为整个团队设置一个忽略模式,就像在 Git 中如何在回购中有一个回购的忽略文件。

谢谢!

P.S。我需要特定的服务器版本还是客户端?

来自SVN书:

Unlike svn:ignore however, the svn:global-ignores property is inheritable and applies to all paths under the directory on which the property is set, not just the immediate children of the directory

Of course only a 1.8 or newer Subversion client will recognize the inheritability and special meaning of the svn:global-ignores property!

how I set it?

svn help ps 将输出使用 "ps" 命令("propset" 的缩写)的帮助。

您必须在名为 svn:global-ignores 的存储库的根目录上使用 "versioned property" 集。这是 v1.8 中的新功能,递归应用。

还有 svn:ignore 仅适用于其设置的目录。它可以递归设置,但与上面的工作方式不同,因此新目录不会'receive'设置。

svn propset svn:global-ignores {newline delimited ignore patterns}

现在我不知道如何在 Windows 命令提示符中设置换行符分隔的数据,所以我只使用了 TortoiseSVN 中的属性编辑器。

我删除了我的本地 Tortoise 忽略列表并使用 Thumbs.db 文件进行了测试,该设置似乎在树下工作。 属性 被写入 repo,必须像代码更改一样提交。完成。