A user recently asked me if it is possible to protect a branch from a script. While I know how to set path based permissions from the server sid开发者_如何学Pythone my searches for this answer have eluded me. Is it possible to modify the permissions on a branch from the svn command-line?
Subversion doesn't include permissions as part of the repository, but you can run a commit hook script to reject commits to areas of the repository based on whatever criteria you want.
精彩评论