SVN: Ignore some directories recursively

Paul Tarjan picture Paul Tarjan · Jan 10, 2010 · Viewed 90.4k times · Source

I don't want any directory named build or dist to go into my SVN no matter how deep in the tree it is.

Is this possible? In git I just put

build
dist

in my .gitignore at the root and it recursively ignores. How do I do this with svn? Please don't tell me to do a propset on every parent dir...

Answer

twin picture twin · Feb 10, 2015

As of subversion 1.8, there is now the svn:global-ignores property which works like svn:ignore but recursively (so set this on your top-level directory)