Re: SVN: pre-commit, I give up. Help!
From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-23 08:30:16 CET
On Mar 23, 2007, at 02:02, Ryan Schmidt wrote:
> On Mar 23, 2007, at 01:06, Res Pons wrote:
Make sure this is where grep actually is on your system. On mine,
>> echo -n "You must start your comment with a
Ah, now that I've played with it a bit, I see that Subversion
So, this is a version that seems to work for me:
#!/bin/bash
# A pre-commit hook script to ensure that no changes are commited to the
REPO="$1"
SVNLOOK='/opt/local/bin/svnlook'
$SVNLOOK dirs-changed -t "$TXN" "$REPO" | $GREP '^testproject/trunk/'
if [ $? -eq 0 ]; then
-- To reply to the mailing list, please use your mailer's Reply To All function --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Fri Mar 23 08:30:49 2007 |
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.