From b883113df1f6024ec2ced371041d0f8b7f1fa87a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 1 Oct 2009 00:33:54 +0000 Subject: [PATCH] Don't exit on errors in the pre-commit svn hook. Errors in grep, when it fails to find any changed or updated files, also count so the "set -e" line was causing the hook to reject any commits only deleting files (without any error message). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- misc/scripts/svn/hooks/pre-commit | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/scripts/svn/hooks/pre-commit b/misc/scripts/svn/hooks/pre-commit index d683f16317..6c75f4d367 100755 --- a/misc/scripts/svn/hooks/pre-commit +++ b/misc/scripts/svn/hooks/pre-commit @@ -11,7 +11,6 @@ svnl() { $SVNLOOK $cmd "$REPOS" -t "$TXN" $* } -set -e rc=0 # exclude all third-party files from consideration, we don't want to do any