svn get last commit message

Alec Jacobson

August 31, 2011

weblog/

Here's a quick bash one-liner to get the last svn commit message:
svn log -q -v --xml --with-all-revprops -r committed | grep msg | sed -e "s/<msg>\([^<]*\)<\/msg>/\1/g"
Update: Not sure what the difference between "committed" and "head" is, but now "head" is giving me the correct message:
svn log -q -v --xml --with-all-revprops -r head | grep msg | sed -e "s/<msg>\([^<]*\)<\/msg>/\1/g"