mirror of https://github.com/CGAL/cgal
make trunk read-only
This commit is contained in:
parent
7214fb2b3c
commit
a40fea01b4
|
|
@ -59,6 +59,13 @@ if [[ $? != 0 ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Freeze trunk
|
||||
if $SVNLOOK dirs-changed -t "$TXN" "$REPOS" | grep -qE '^trunk'; then
|
||||
echo "" >&2
|
||||
echo "trunk is now read-only!" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check that the author of this commit has the rights to perform
|
||||
# the commit on the files and directories being modified.
|
||||
#/usr/lib/subversion/hook-scripts/commit-access-control.pl "$REPOS" "$TXN" commit-access-control.cfg || exit 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue