1 Configuring User groups and Users
The user group has higher permissions than the user's permissions,
If a user has read-only permissions and is added to a user group with write permissions, this user can perform a write operation.
2 Add a Hook script to force comments under Pre-commit Hook
The commit fails if the comment does not conform to the string length (or not) when the user commits after it is enabled
@echo off
Setlocal
Set repos=%1
Set txn=%2
REM Check that logmessage contains at least characters
Svnlook Log "%repos%"-T "%txn%" | Findstr "..." > nul.
If%errorlevel% GTR 0 goto ERR
Exit 0
: Err
echo Upload failed! Please add a comment. The comment length is at least 10 characters. Commit aborted! 1>&2
Exit 1
Attention:
1. Need to remove all the space at the end of the line, "..." for the character length, a few characters to write a few.
2. When "' findstr ' is not an internal or external command or a running program", add the system32 path for the system variable path field and restart it
Temporarily put the configuration of the problems encountered and need attention to the record here,
Later find out what needs to be supplemented again to fill up.
A few things to keep in mind when configuring VISUALSVN server under Windows