How to ignore files in Subversion

For some reason, adding files and directories to ignore in Subversion is much harder then in CVS.

The syntax, as it you are editing a .cvsignore file is:

svn propedit svn:ignore . –editor-cmd vi

Just add your patterns and then do

svn ci -m `adding new svn:ignore patterns .