Index: svnadmin/hooks/scripts/stage-only.sh =================================================================== --- svnadmin/hooks/scripts/stage-only.sh +++ svnadmin/hooks/scripts/stage-only.sh @@ -42,5 +42,12 @@ exit 1 fi ;; + head/*/*/distinfo*) + if ! svnlook cat -t ${TXN} ${REPO} $fpath | grep -q '^TIMESTAMP = [0-9]*$' ; then + echo "Do not commit ports without TIMESTAMP in their distinfo files." 1>&2 + echo "Rerun make makesum to add it." 1>&2 + exit 1 + fi + ;; esac done