About twice a year I need to completely remove a project from svn, I can never find/remember the snippet so I’m posting it on the internets.
About twice a year I need to completely remove a project from svn, I can never find/remember the snippet so I’m posting it on the internets.
3 Comments
Wouldn’t it be easier to just export it?
$ svn export file:///tmp/repos project
I’m not exactly sure why people do it, but I often see piping to xargs when it probably isn’t necessary. Why not just use the -exec functionality of find to do the same thing?
find . -name .svn -exec rm -rf {} \;@Aaron: Personally, I like doing the piping because before I run the
rm, I want to make sure that I am deleting the right stuff first.