DELTA SVNƒ@ƒB€ƒ@ƒ@#!/bin/sh # $FreeBSD$ REPO=$1 TXN=$2 OIFS=${IFS} IFS=$'\n' # svnlook log -r "${TXN}" "${REPO}" | grep -q portmgr && exit 0 for line in $(svnlook changed -t $TXN $REPO) ; do IFS=${OIFS} set -- $line type=$1 fpath=$2 case $type in [^A]*) 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" exit 1 fi ;; esac done ENDREP id: 3-339925.0.r339925/478 type: file count: 0 text: 339925 0 465 448 3b6cb1153e3b170656b76159810a54e8 44f59f852499edb258ad04f39e7930e34ee7952d 339924-7aam/_5 props: 339139 781 64 0 a0283a89aab39edd4cfb26f6b28671ff cpath: /svnadmin/hooks/scripts/stage-only.sh copyroot: 0 / PLAIN K 15 approvecheck.pl V 30 file 17-300894.0.r300894/61832 K 19 case-insensitive.py V 30 file 1a-300894.0.r300894/59275 K 15 check-binary.py V 30 file 1c-300894.0.r300894/62921 K 19 check-properties.pl V 30 file 1e-300894.0.r300894/60743 K 12 checkcaps.sh V 30 file 1g-300894.0.r300894/64377 K 17 deny-filenames.sh V 30 file 1i-300894.0.r300894/63287 K 25 detect-merge-conflicts.sh V 30 file 1k-300894.0.r300894/59645 K 26 detect-nonewline-at-eof.sh V 28 file 4-313608.0.r313608/1152 K 6 env.sh V 28 file 1m-300894.0.r321777/171 K 13 log-police.py V 27 file 1o-300894.0.r315733/77 K 9 mailer.py V 29 file 1q-300894.0.r339693/1368 K 12 mergeinfo.sh V 30 file 1s-300894.0.r300894/62198 K 6 mfh.sh V 26 file 4-339139.0.r339148/98 K 12 pathcheck.pl V 30 file 1u-300894.0.r300894/62559 K 12 sizelimit.py V 30 file 1w-300894.0.r300894/60381 K 13 stage-only.sh V 27 file 3-339925.0.r339925/478 K 14 update-root.sh V 30 file 1y-300894.0.r300894/64014 K 9 verify.py V 28 file 20-300894.0.r320030/241 END ENDREP id: 16-300894.0.r339925/1759 type: dir pred: 16-300894.0.r339693/2633 count: 13 text: 339925 753 993 0 9343af307182b5ffd4deb11b8b5a2ccc cpath: /svnadmin/hooks/scripts copyroot: 0 / PLAIN K 11 post-commit V 27 file p-300894.0.r339139/483 K 9 post-lock V 29 file s-300894.0.r300894/66097 K 19 post-revprop-change V 29 file u-300894.0.r300894/58199 K 11 post-unlock V 29 file w-300894.0.r300894/67148 K 10 pre-commit V 25 file y-300894.0.r332024/0 K 8 pre-lock V 30 file 10-300894.0.r300894/66797 K 18 pre-revprop-change V 30 file 12-300894.0.r300894/58914 K 10 pre-unlock V 30 file 14-300894.0.r300894/57846 K 7 scripts V 28 dir 16-300894.0.r339925/1759 K 12 start-commit V 30 file 22-300894.0.r300894/58559 END ENDREP id: 6-1.0.r339925/2477 type: dir pred: 6-1.0.r339693/3352 count: 18 text: 339925 1941 523 0 547434dc45a262f8e4e949744d064e2f cpath: /svnadmin/hooks copyroot: 0 / PLAIN K 4 conf V 21 dir 4-1.0.r339912/953 K 5 hooks V 22 dir 6-1.0.r339925/2477 K 5 tools V 21 dir 7-1.0.r306988/942 END ENDREP id: 3-1.0.r339925/2768 type: dir pred: 3-1.0.r339912/1240 count: 111 text: 339925 2640 115 0 4d371d7fc59d889e6373cb7039953348 cpath: /svnadmin copyroot: 0 / PLAIN K 8 branches V 23 dir 0-1.0.r339902/60299 K 4 head V 23 dir 2-1.0.r339924/62334 K 8 svnadmin V 22 dir 3-1.0.r339925/2768 K 4 tags V 22 dir 8-1.0.r336829/4760 END ENDREP id: 0.0.r339925/3101 type: dir pred: 0.0.r339924/62729 count: 339925 text: 339925 2926 162 0 f942e3fc45efba0346ccf402fc92ce94 props: 326465 0 620 0 631089891639cf20878ff168189d346f cpath: / copyroot: 0 / minfo-cnt: 10 _3.0.t339924-7aam add-file true true /svnadmin/hooks/scripts/stage-only.sh 3101 3320