Bash svn:忽略属性附加规则 附加问题

Bash svn:忽略属性附加规则 附加问题,bash,svn,vim,Bash,Svn,Vim,我试图从一个文件中读取规则,并在bash脚本中设置规则,为此,我需要将svn:ignore规则附加到目录中 我有一组数据示例: /js/blank.html /js/index.php /js/spacer.gif 如果我尝试运行svn propedit svn:ignore js/

我试图从一个文件中读取规则,并在bash脚本中设置规则,为此,我需要将svn:ignore规则附加到目录中

我有一组数据示例:

/js/blank.html
/js/index.php
/js/spacer.gif
如果我尝试运行
svn propedit svn:ignore js/<“blank.html”
echo“test”| svn propedit svn:ignore js/
,我会得到以下错误:

Vim: Warning: Input is not from a terminal
Vim: Error reading input, exiting...
Vim: preserving files...
Vim: Finished.
svn: E200012: system('/usr/bin/editor svn-prop.tmp') returned 256
是否可以将规则附加到svn:ignore

选择 我知道您可以使用propset设置规则列表,每行一条,但这不是我想要的行为,因为我必须在bash some how中对列表进行排序,并确保不会覆盖任何现有更改

有趣的是,这件事发生了,也许我应该找到他

如果有人知道如何使用propset进行追加,那也会很有用

谢谢

拥护者 我正在从文件中自动添加这些内容,因此除了
local.xml.sample

ls -h errors/
404.php  default     enterprise        processor.php
503.php  design.xml  local.xml.sample  report.php
我的财产规则:

.htaccess
404.php
503.php
design.php
processor.php
report.php
design.xml
Proplist输出:

svn proplist errors
Properties on 'errors':
  svn:ignore

我可以给出更复杂的例子,但基本原则是,我正在尝试从单个文件中自动化所有规则,以创建一种可靠的方法,从我的存储库中忽略软件包的所有核心文件。我知道我在工作中使用了错误的工具,但管理就是管理,我觉得我就像是在用一张纸敲钉子。

你为什么坚持使用
propedit
和Vim?您能否在前后添加
proplist
的输出,以便我们更清楚地了解您要做什么?我很乐意使用
propset
,但没有
--append
选项。将添加proplist输出并没有显示应用的规则。好问题。可惜没人回答。