Pre-commit hook

24 views
Skip to first unread message

Paul Colclough

unread,
Nov 17, 2016, 12:19:53 PM11/17/16
to scmmanager
I'm wondering if the below is possible on a pre-commit hook for SVN: 

# Allow user to modify their own (and only their own) log messages for upto 3 hours after the initial commit
# Don't allow a change of user

At the moment, it just denies everything. 

I've tried editing the "pre-commit.tmpl" file, renaming it "pre-commit" and making it executable, but it doesn't seem to work, even when the contents are just "exit 0". I get a "UNCHECKOUT" error (same as when the file doesn't exist) 

System specs: 

Version: 1.49
Operating System: Linux

Reply all
Reply to author
Forward
0 new messages