Archive for July, 2006

svn auto add

July 18, 2006

Weird that SVN doesnt have a quick command to add all the new files/ folders automatically.

Here’s a simple ’svnautoadd’ command

#!/bin/sh
svn status | grep “^?” | cut -b 8- | xargs svn add
svn commit $@

[Place the above code in /usr/bin/svnautoadd and make it executable]
Ref: hint source