The unified diff between revisions [32477290..] and [8d7e5e79..] is displayed below. It can also be downloaded as a raw diff.

#
#
# patch ".zshfunctions"
#  from [e12226134883925d6b73f8322a86c96d857e0c0e]
#    to [1e9f0bc29e82a77be420a983025dfb72678656af]
#
============================================================
--- .zshfunctions	e12226134883925d6b73f8322a86c96d857e0c0e
+++ .zshfunctions	1e9f0bc29e82a77be420a983025dfb72678656af
@@ -107,4 +107,42 @@ sgrep()
 	find .  -type f -and -not -wholename '*/.svn/*' -exec grep "$*" {} /dev/null \;
 }

+svnmodified()
+{
+       svn status | grep -vE '^[\? ]' | cut -c 8-
+}

+svnchangelog()
+{
+       echo `date +%Y-%m-%d`"  Grahame Bowland  <grahame@fugro-fsi.com.au>"
+       echo
+       ( svnmodified ) | sed -e 's/^\(.*\)$/\t* \1:/g'
+}
+
+svncommit()
+{
+       if [ -f ChangeLog ]; then
+               clog="ChangeLog"
+       fi
+       if [ -f src/ChangeLog ]; then
+               clog="src/ChangeLog"
+       fi
+       if [ x"$clog" = x ]; then
+               echo "Couldn't find ChangeLog"
+               return
+       fi
+       newcontents=`grep -B 200 -m 2 "^2007" "$clog" | head  -n-1`
+       echo $newcontents
+       echo -n "Look okay?) "
+       read OK
+       if [ x"$OK" != x"yes" ]; then
+               echo "Abort."
+               return
+       fi
+       t=`mktemp`
+       echo "$newcontents" > "$t"
+       svn commit -F "$t"
+       s=$?
+       rm -f "$t"
+       return $s
+}