Parent Directory | Revision Log | Patch
puppet/modules/subversion/templates/no_root_commit revision 1687 by misc, Fri Nov 19 00:46:14 2010 UTC | puppet/modules/subversion/templates/restricted_to_user revision 1688 by boklm, Wed Jun 1 14:20:47 2011 UTC | |
---|---|---|
# | Line 5 TXN="$2" | Line 5 TXN="$2" |
5 | ||
6 | author=$(svnlook author -t "$TXN" "$REP") | author=$(svnlook author -t "$TXN" "$REP") |
7 | ||
8 | if [ "$author" == 'root' ]; then | if [ "$author" != '<%= restricted_to_user %>' ]; then |
9 | echo "no root commit allowed" >&2 | echo "this repository is restrected to user <%= restricted_to_user %>" >&2 |
10 | exit 1 | exit 1 |
11 | fi | fi |
12 |
|
ViewVC Help | |
Powered by ViewVC 1.1.30 |