Archive for svn

recursive “svn add” approach

Not being an SVN (subversion) guru I wanted to find a way to recursively add files (svn add) to put them under version control.

Solution: Here’s the solution (updated from Paul’s suggestion below):


 “svn add * –force” This will recursively add new files and skip any files that are already in svn.

The original solution I was using was the below:


svn status | grep "^\?" | awk '{print $2}' | xargs svn add

Comments (2)