]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't exclude message catalog files from UTF-8 checks in svn hook.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Feb 2012 15:50:29 +0000 (15:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Feb 2012 15:50:29 +0000 (15:50 +0000)
The message catalogs do use UTF-8 now, so check that no non-UTF-8 ones are
checked in in the future.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

misc/scripts/svn/hooks/pre-commit

index a5f6291d7a248dbd5dde8a8305eca180776dea8e..411f00a5971e877164650ccaf678aebe111d88c5 100755 (executable)
@@ -15,12 +15,9 @@ rc=0
 
 # exclude all third-party files from consideration, we don't want to do any
 # checks for them
-#
-# also exclude message catalog files as they may be not in UTF-8
 all_changed_files=`svnl changed | \
                     grep "^[AU]" | \
                     sed 's/^....//' | \
-                    egrep -v "locale/.*\.po$" | \
                     egrep -v "src/(tiff|regex|jpeg|stc/scintilla)" | \
                     egrep -v "_wrap.cpp" | \
                     egrep -v "wxPython/.*/docs/.*\.html$"`