Getting Rid of Dead Files in a Subversion Working Directory

Quick Tip:
I often find that I delete files before I remember that I should have deleted them using subversion. To help solve that problem I found/created the following command.

svn st |grep "^\\!" |cut -c8- | xargs svn rm --force

This takes all the files that are missing from the checked out version of the repository and forces their removal. Enjoy!

Automated Setup of Subversion Repository

I may be unique in this respect, but I like to keep individual subversion repositories for each project. To make life a little easier in setting up the repository, I have a handy little bash script that sets up the repository with the /branch /trunk and /tags directories. Continue reading