]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't apply svn commit hook checks to 2.8 branch.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Feb 2012 15:50:32 +0000 (15:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Feb 2012 15:50:32 +0000 (15:50 +0000)
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

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$"`