SVN: pre-commit, I give up. Help!
From: Res Pons <pons32_at_hotmail.com>
Date: 2007-03-23 07:06:36 CET
Hi everyone
I give up. My new pre-commit script does not work. I even included a final
Transmitting file data .
Here's a copy of my pre-commit:
sudo vi pre-commit
#!/bin/bash
REPO="$1"
if [[ "$TESTPROJECT" ]]; then
#make sure that the comment starts with a bug number and
if [[ $result -ne 0 ]]; then
echo -n "You must start your comment with a bug
fi
elif [[ "$TESTPROJECT" = "" ]]; then
#if the project is non-testproject, no bug# necessary, just
if [[ $result -ne 0 ]]; then
echo -n "You must enter an alphanumeric comment,
fi
else
echo "Submission was successful." 1>&2
fi
echo "WTF?" 1>&2
_________________________________________________________________
---------------------------------------------------------------------
|
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.