Getting Rid of Dead Files in a Subversion Working Directory

 In programming, version control

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!

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search