Add check for _T() to svn pre-commit hook.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Jan 2012 18:48:42 +0000 (18:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Jan 2012 18:48:42 +0000 (18:48 +0000)
commitf1cfa1132c308c57a3d3996872cf46bbb038cff5
tree3d88cc5a716851d02e2767346ff95aa37c2cd12a
parentebd98179c5c6df037a9b7c29e8d3b33f8577bbf1
Add check for _T() to svn pre-commit hook.

_T() shouldn't be used in any new code so don't allow committing it.

We could have used "svnlook diff" instead of "svnlook cat" and check only for
_T() not being added but in practice there shouldn't be any difference and
using "cat" is simpler.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
misc/scripts/svn/hooks/pre-commit