Alexandre Martins On Agile Software Development

2Apr/081

Subversion command reference

This post is more to keep in a single place reference to useful subversion commands, for future development.
Anyone who has a command can comment this post, so I can add it here.

List all your local files that hasn't been added to the repository yet.

vn st | grep ?

Add all your local files that hasn't been added to the repository yet.

svn st | grep ? | cut -b7- | xargs svn add

or

svn add . –force

Send HTML formatted email messages for Subversion activity (see SVN-Notify website)

svnnotify -d -H HTML::ColorDiff --smtp myhost.com
--repos-path "$1" --revision "$2" -t dev1@myhost.com -t dev2@myhost.com