Merging modern software development with electrons and metal
Random header image... Refresh for more!

devsn Subversion tool added

I’ve added the desvn.py tool to remove Subversion’s .svn directories from a directory tree. It’s written in Python (and requires Python to run); it only took about an hour to write and test.

Tony

2 comments

1 Dave M. { 04.28.09 at 9:09 am }

I feel fortunate that I’ve found your blog, and am slowly reading every article from the beginning. 🙂

Another way to deal with this problem (I have experienced it as well — need to use less disk space for code folders) is to use cygwin. Very convenient if you already have it loaded.

find -iname .svn | xargs rm -rf

This simple command will do the same thing. Just execute it from the folder that you want to start from.

2 Tony { 04.29.09 at 4:51 pm }

Thanks for the comment – it’s nice to know I have some readers!

Yes, typically there are multiple ways to solve problems; often I find new ways much later when I’m looking for something else.

I don’t find svn’s working copy overhead a big problem for code, especially given the size of modern disk drives. But there are at least two projects that work with svn to eliminate the local working copy (e.g. scord and fsvs (backup oriented)

Oh, and I ran across scord and fsvs here when I was looking at using a VCS for managing for photos.

Leave a Comment