Re: SVN: pre-commit, I give up. Help!
From: Res Pons <pons32_at_hotmail.com>
Date: 2007-03-23 21:35:18 CET
Ryan
Thank you for all your help. Yes one of my main problems was thinking that
Thanks for all your help.
Rez
----Original Message Follows----
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, it's in
>> echo -n "You must start your comment with a bug
Ah, now that I've played with it a bit, I see that Subversion automatically
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
# For testproject, make sure that the comment starts with a (bug) number
if [ $? -ne 0 ]; then
else
# For other projects, no bug number necessary, just make sure the comment
fi
-- To reply to the mailing list, please use your mailer's Reply To All function _________________________________________________________________ Interest Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18466&moid=7581 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Fri Mar 23 21:35:41 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.