---
name: "SVN::Hooks::DenyChanges"
section: "3pm"
platform: "linux"
package: "libsvn-hooks-perl"
version: "1.36-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SVN::Hooks::DenyChanges"
---

# SVN::Hooks::DenyChanges(3pm)

Deny some changes in a repository.

## NAME

SVN::Hooks::DenyChanges - Deny some changes in a repository.

## VERSION

version 1.36

## SYNOPSIS

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.

## AUTHOR

Gustavo L. de M. Chaves \<gnustavo@cpan.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by CPqD \<www.cpqd.com.br\>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
