I have a big directories tree involving many subdirectories. In many of the directories I used the svn propedit svn:ignore .
, and ignored files and/or directories in the given directory. Now, I want to ignore, in all subdirectories the directories called foo
. In this answer, it is suggested to invoke:
svn propset --recursive svn:ignore foo .
from the tree's root. The problem is, that once invoking this, it overrides all predefined ignores in the various subdirectories - and this is undesired. Essentially I would like to append to the ignore list of each directory in the tree, a line with entry foo
in it. Does SVN supports this kind of action? If not, then I was thinking of scripting this task, and add to the file dir-prop-base
(which seems to hold the ignore list) in each ./sub/directory/.svn
(where .
is the tree's root) the needed line. Is it safe to do it?, namely manually mess with .svn
content?