SVN: Ignore some directories recursively
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)
svn propset
takes --recursive
as an option, so you can do this, with two downsides:
- you have to check out the entire repository (or at least all directories therein), and
- you have to remember to set the
svn:ignore
property whenever you add a new directory
It is not possible to do this. There are only two ignore mechanisms in Subversion, svn:ignore
(which is nonrecursive) and global-ignores
(which is not specific to a repository).
This works for me:
svn propset --recursive svn:ignore *.zip <dir_tree_with_no_zips>