]> git.saurik.com Git - wxWidgets.git/blobdiff - misc/scripts/svn/hooks/pre-commit
Don't apply svn commit hook checks to 2.8 branch.
[wxWidgets.git] / misc / scripts / svn / hooks / pre-commit
index 411f00a5971e877164650ccaf678aebe111d88c5..85a3641d6999c2d57902a832bc83084d0e1e24a5 100755 (executable)
@@ -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$"`