Index: stage-only.sh =================================================================== --- stage-only.sh (révision 349838) +++ stage-only.sh (copie de travail) @@ -6,7 +6,7 @@ OIFS=${IFS} IFS=$'\n' -# svnlook log -r "${TXN}" "${REPO}" | grep -q portmgr && exit 0 +svnlook log -r "${TXN}" "${REPO}" | grep -q portmgr && exit 0 for line in $(svnlook changed -t $TXN $REPO) ; do IFS=${OIFS} set -- $line @@ -13,12 +13,14 @@ type=$1 fpath=$2 case $type in - [^A]*) continue;; + [^AU]*) continue;; esac 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" 1>&2 + echo "Do not commit ports with NO_STAGE" 1>&2 + echo "The port must be converted to support staging before it can be updated or added. See" 1>&2 + echo "https://wiki.freebsd.org/ports/StageDir" 1>&2 exit 1 fi ;;