[prev] [thread] [next] [lurker] [Date index for 2003/09/03]
Author: richardc Date: 2003-09-03 07:53:30 +0100 (Wed, 03 Sep 2003) New Revision: 1398 Modified: trunk/hooks/pre-commit Log: wooble Modified: trunk/hooks/pre-commit =================================================================== --- trunk/hooks/pre-commit 2003-09-03 06:42:39 UTC (rev 1397) +++ trunk/hooks/pre-commit 2003-09-03 06:53:30 UTC (rev 1398) @@ -3,10 +3,9 @@ REPOS="$1" TXN="$2" -# dummy # if the diff is adding tabs, reject it cd /tmp -svnlook diff -t "$TXN" "$REPOS" | perl -wne 'exit 1 if /^\+.*\t/' && exit 1 +svnlook diff -t $TXN $REPOS | perl -wne 'exit 1 if /^\+.*\t/' && exit 1 # fallthrough, you're OK exit 0
Generated at 13:57 on 01 Jul 2004 by mariachi 0.52