805Recursively removing .svn directories

When you’are working with Subversion, the situation might be familiar: You have checked-out some directories and want to check them in at another repository. Subversion is not happy to do that, it complains with a friendly reminder, that ‘your directory’ is already under version control. The proper way to do it, would probably be to export a clean directory tree, but sometimes this option is not available. Here’s a simple shell script to recursively remove all the hidden ‘.svn’ directories:
rm -rf `find . -type d -name .svn`
Wether it is better to use backticks or xargs is being discussed elsewhere.

612Installing TextMate Bundles via Subversion

Instruction from the TextMate site, this is the minimal info for installing TextMate Bundles mkdir -p /Library/Application\ Support/TextMate/Bundles cd /Library/Application\ Support/TextMate/Bundles svn co http://svn.textmate.org/trunk/Bundles/Haskell.tmbundle Update all bundles cd /Library/Application\ Support/TextMate/Bundles svn up *.tmbundle

240Moving/Exporting SVN’ed Directories

Situation For whatever reasons, you want to move a directory from one svn repository to another. Problem Once in a repository, every folder gets an invisible .svn folder, where the svn info instored. Deleting them by hand can be tedious. A script might be cumbersome. Solution Use svn to export the folder. Exporting basically means getting rid of the .svn/ folders. http://svnbook.red-bean.com/en/1.0/re10.html Usage
svn export folder/ exported-folder/
Update What does svn add –force myDirectory do?