svn commit: r345275 - svnadmin/hooks/scripts
Mathieu Arnold
mat at FreeBSD.org
Thu Feb 20 22:41:14 UTC 2014
Author: mat
Date: Thu Feb 20 22:41:12 2014
New Revision: 345275
URL: http://svnweb.freebsd.org/changeset/ports/345275
QAT: https://qat.redports.org/buildarchive/r345275/
Log:
svn hooks need to write to stderr for the message to reach the user.
Noticed by: girgen
Submitted by: gjb (based on)
Sponsored by: Absolight
Modified:
svnadmin/hooks/scripts/stage-only.sh
svnadmin/hooks/scripts/vulnxml-unique.sh
Modified: svnadmin/hooks/scripts/stage-only.sh
==============================================================================
--- svnadmin/hooks/scripts/stage-only.sh Thu Feb 20 22:40:14 2014 (r345274)
+++ svnadmin/hooks/scripts/stage-only.sh Thu Feb 20 22:41:12 2014 (r345275)
@@ -18,7 +18,7 @@ for line in $(svnlook changed -t $TXN $R
case $fpath in
/head/*/*/Makefile*)
if svnlook cat -t ${TXN} ${REPO} $fpath | grep -q "^NO_STAGE" ; then
- echo "Do not commit new ports with NO_STAGE"
+ echo "Do not commit new ports with NO_STAGE" 1>&2
exit 1
fi
;;
Modified: svnadmin/hooks/scripts/vulnxml-unique.sh
==============================================================================
--- svnadmin/hooks/scripts/vulnxml-unique.sh Thu Feb 20 22:40:14 2014 (r345274)
+++ svnadmin/hooks/scripts/vulnxml-unique.sh Thu Feb 20 22:41:12 2014 (r345275)
@@ -36,7 +36,7 @@ done
# yell
if [ $VULN_XML -gt 0 -a $OTHER -gt 0 ] ; then
- echo "Commit to security/vuxml/vuln.xml first, and then other files"
+ echo "Commit to security/vuxml/vuln.xml first, and then other files" 1>&2
exit 1
fi
More information about the svn-ports-svnadmin
mailing list