]>
git.saurik.com Git - wxWidgets.git/blob - misc/scripts/svn/hooks/pre-commit
6 SVNLOOK
=/usr
/bin
/svnlook
8 changed_cpp_files
=`$SVNLOOK changed "$REPOS" -t "$TXN" | \
11 egrep "\.(cpp|h|py)$" | \
12 egrep -v "src/(tiff|regex|jpeg|stc/scintilla)" `
17 for f
in $changed_cpp_files; do
18 if $SVNLOOK cat "$REPOS" -t "$TXN" $f | fgrep
-q ' '; then
19 echo "Please remove TABs from $f before committing." >&2