SVN::Hooks::DenyChanges(3pm)

SVN::Hooks::DenyChanges3pm

Deny some changes in a repository.

Usage

This SVN::Hooks plugin is used to disallow the addition, deletion, or modification of parts of the repository structure.

It's active in the "pre-commit" hook.

It's configured by the following directives.

Deny_addition(regexp, ...)

This directive denies the addition of new files matching the Regexps passed as arguments.

        DENY_ADDITION(qr/\.(doc|xls|ppt)$/); # ODF only, please

Deny_deletion(regexp, ...)

This directive denies the deletion of files matching the Regexps passed as arguments.

        DENY_DELETION(qr/contract/); # Can't delete contracts

Deny_update(regexp, ...)

This directive denies the modification of files matching the Regexps passed as arguments.

        DENY_UPDATE(qr/^tags/); # Can't modify tags

Deny_except_users(list)

This directive receives a list of user names which are to be exempt from the rules specified by the other directives.

        DENY_EXCEPT_USERS(qw/john mary/);

This rule exempts users "john" and "mary" from the other deny rules.

Version

version 1.36

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10–11
  6. 12–13

Author

Gustavo L. de M. Chaves <[email protected]>

From libsvn-hooks-perl 1.36-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.