Posted on 2009-01-12 21:44:25-08 by stugots
I'm getting HTML formatted e-mail, but without any colors

Svnnotify's commit e-mails don't generate color diffs for me. The mail body is HTML-formatted, but the diffs looks like normal diffs... I.e., the removed and added rows have - and + in the left column, but there's no color.

I'd appreciate any pointers for where I should look to find out what's broken. I followed all the rules when installing it (I swear!) but I must have done something wrong.

Here's the environment:

The server's running Ubuntu Hardy, with the latest package versions.

Svn is version 1.4.6, installed from Hardy packages.

Perl is v5.8.8.

Svnnotify is SVN-Notify-2.78, downloaded from CPAN. The installation was: perl Makefile.PL, make, make test, make install. I didn't see any obviously bad errors during the installation.

/var/lib/svn/dev/hooks/post-commit does this:

svnnotify --repos-path "$REPOS" --revision "$REV" --to commit-watchers --user-domain fsci.com --subject-prefix "[SVN COMMIT]" --handler HTML::ColorDiff -d

Thanks!

Direct Responses: 9713 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.