Re: How to force comments on SVN commit
From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Thu, 28 May 2009 17:32:05 -0500
On May 28, 2009, at 15:08, Dave Peters wrote:
> I got the following errors when I commit the changes:
Not only do you need to use the full path to svnlook as you do, but
echo is a shell built-in so you shouldn't need to use a full path for
Also, maybe this was just a copy/paste error, but the first line of
Finally, make sure the script is called "pre-commit" (with no
So:
#!/bin/sh
REPOS="$1"
SVNLOOK=/usr/bin/svnlook
LOGMSG=`$SVNLOOK log -t $TXN $REPOS | $GREP [a-zA-Z0-9] | $WC -c`
if [ "$LOGMSG" -lt 5 ]; then
#commit-access-control.pl "$REPOS" "$TXN" commit-access-control.cfg
exit 0
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
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.