Subversion: Useful Command Line Goodness

Created: 21 April 2016  Modified:

Recently there has been the need for me to revert changes in Subversion and to remove all unversioned files. This requires a few different Linux commands along with some Subversion commands.

Revert entire folder structure

  $ svn revert --depth=infinity .

Remove all unversioned files

  $ svn status --no-ignore | grep -E '^?|^I' | cut -c9- | xargs rm -rf

Recursive Add

  $ svn add * --force

Search Log File

  $ svn log -v --search &#lt;searchtext&#gt; | more
tags: subversion - command line - revert - remove - unversioned
   Less Is More