From: Vadim Zeitlin Date: Sun, 19 Feb 2012 15:50:32 +0000 (+0000) Subject: Don't apply svn commit hook checks to 2.8 branch. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eeea7e8cf03cd1ded128ed1d03efedd598c2dc8d Don't apply svn commit hook checks to 2.8 branch. Some of the files in 2.8 still use the old conventions, allow doing changes in them without completely updating them to follow the rules checked by the hook. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/misc/scripts/svn/hooks/pre-commit b/misc/scripts/svn/hooks/pre-commit index 411f00a597..85a3641d69 100755 --- a/misc/scripts/svn/hooks/pre-commit +++ b/misc/scripts/svn/hooks/pre-commit @@ -15,9 +15,12 @@ rc=0 # exclude all third-party files from consideration, we don't want to do any # checks for them +# +# Also don't impose any constraints on commits to previous 2.x branches. all_changed_files=`svnl changed | \ grep "^[AU]" | \ sed 's/^....//' | \ + egrep -v "branches/WX_2_" | \ egrep -v "src/(tiff|regex|jpeg|stc/scintilla)" | \ egrep -v "_wrap.cpp" | \ egrep -v "wxPython/.*/docs/.*\.html$"`