-changed_sources=`echo $all_changed_files | \
- egrep "\.(cpp|h|py)$" | \
- egrep -v "src/(tiff|regex|jpeg|stc/scintilla)"`
+# analyze the changed files to find all non-binary and all source files
+for f in $all_changed_files; do
+ mimetype=`svnl proplist -v $f |
+ fgrep "svn:mime-type" |
+ sed 's/^ svn:mime-type : //'`
+ case $mimetype in
+ ''|text/*)
+ ;;