I wish to add a line to my svn:ignore for, say, the pattern "*.bak".
I'd like this to be done recursively for the whole tree. I can do this as described here:
svn propset svn:ignore '*.bak' . --recursive
However I found that this method will remove any existing ignore rules I have.
Is there some way I can recursively add a new line to the svn:ignore property without removing what is there already?
Many of my subdirectories already have multiple ignore patterns, and I don't want all subdirectories to have the same ignore patters. I'd just like to add a new pattern to every directory.
I hope that is all clear. Thanks for any help!
To ignore more than one 'type' or 'pattern' you need to supply a file
So, to do what you want you'll need to take it one step further and get the prop list, append to it with a temporary file, etc.
Either that or you could write a web client that talks directly to the SVN/Dav server, gets the props and sets them.