Getting rid of =3D in svnmailer

Submitted by dag on Thu, 2010/01/14 - 12:27

svnmailer is a tool to distribute (by mail) changes to a subversion repository. It's a basic tool to allow a small team of people to track changes to documentation or tools. The configuration allows a lot of flexibility for the simple and complex cases and easily integrates with subversion as a post-commit hook.

With the latest svnmailer (1.08) I noticed that the equal sign (=) in URLs were replaced by =3D. A simple way to avoid this is to add to the defaults section:

mail_transfer_encoding = 8bit

If you want to test your configuration without committing more changes, you can simply run svnmailer on the command-line with an existing revision:

svn-mailer --commit --config svnmailer.conf --repository "/srv/svn/name" --revision "5"

or even better, run your post-commit script directly:

/srv/svn/name/hooks/post-commit /srv/svn/name 5

But make sure you configure it temporarily to send mail only to you for testing purposes during planned maintenance.