find . -name ".cvsignore" -print | sed "s/\/.cvsignore//" | tee ignoredirs.txt
for i in `cat ignoredirs.txt`
echo Processing $i/.cvsignore
svn propset svn:ignore -F "$i/.cvsignore" "$i"
svn remove "$i/.cvsignore"
My thoughts as an enterprise Java developer.
Tuesday, October 02, 2007
Converting .cvsignore file to Subversion svn:ignore property
If you have converted a cvs repository to a Subversion repository and need to convert .cvsignore files to subversion svn:ignore properties then the following script should be useful to you. Note that it probably doesn't handle spaces in filenames.