How to set svn:ignore with multiple values?

Type exactly like here with line breaks:

svn propset svn:ignore "file1
file2
file3" dir1

If you want to pass a list from another command, try xargs. Unfortunately, the svn command doesn't allow reading from stdin with -F -.


One line solution:

svn propset svn:ignore "file1"$'\n'"file2"$'\n'"file3" dir1

Adding multiple entries is much easier. Use the following command:

svn propedit svn:ignore .

This will open a text editor. Now you can add multiple entries easily.