SVN tips on usage

Hi all,

How to copy svn files and create a backup with a single command?

svn status | grep '^[ADMR]' | cut -b 8- | xargs -I '{}' rsync -R  {} ./directory/

This will create a directory in your root dir where this command is run and will copy all the modified files so that these files can be safely removed and one can perform an svn up to get the latest copies of the files.

How to get a summary of svn diff?

svn diff --summarize