Reputation: 13
I have written a pre-commit hook to restrict a user to add any directory to the existing repository without managers approval.
As the pre-commit hook works only at the time of commit, I wanted to know whether we can check the file type and show the alert when the user does svn add
.
Hope I am clear.
Upvotes: 0
Views: 24
Reputation: 263
This is not possible with standard tools. Maybe with an own/patched SVN client.
Some clients/integrations provide client side hooks like TortoiseSVN.
Maybe svn:ignore can help you in some cases. But it's not almighty...
Upvotes: 2