Tag Archives: ignore

SVN: Ignore files not under version control

Add all files which aren’t currently under version control to the svn:ignore property. for line in $(svn status | grep ^? | awk ‘{print $2}’) do pushd $(dirname $line) svn propset svn:ignore "$(svn propget svn:ignore)$(echo -e "\n$(basename $line)")" . popd done svn commit

Posted in <code> | Tagged , , , | 2 Comments
<RSS Feed>