bash - svnnotify html color diff -


i'm using svnnotify send notification email upon commits. have following script on repo's hooks/post-commit:

#!/bin/sh  repos="$1" rev="$2" address in $(/bin/cat /var/svn/teachbyapp/hooks/addressee.list)   /usr/local/bin/svnnotify \     -r $rev \     -c \     -d \     --diff-encoding utf8 \     -h html::colordiff \     -p $repos \     -t "$address" \     --from svn@factory.e-levelcom.com done 

it works balck , white diff (no colors @ all). added lines underlined whereas removed lines have strike-through format. nothing else, no color @ all. how can colored diff? this

ok found it.

thanks this work

also needed append --css-inline option svnnotify command in script


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -