pre-commit hooks work at first, but then stop
From: Gregory MacDonald <gtmacdonald_at_link.com>
Date: 2005-07-28 22:22:34 CEST
I'm having an odd error with my pre-commit hook. It works fine for about
-Greg MacDonald
#!/bin/sh
REPOS="$1"
# Make sure that the log message contains some text.
if ! $SVNLOOK log -t "$TXN" "$REPOS" | /bin/grep "[a-zA-Z0-9]"
if $SVNLOOK changed -t "$TXN" "$REPOS" | /bin/grep -Eo "^A .*/[\._][^/]+$"
if $SVNLOOK changed -t "$TXN" "$REPOS" | /bin/grep -Eo "^A .*temp$"
if $SVNLOOK changed -t "$TXN" "$REPOS" | /bin/grep -Eo "^A .*tmp$"
if $SVNLOOK changed -t "$TXN" "$REPOS" | /bin/grep -Eo "^A
# All checks passed, so allow the commit.
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.