I am looking for a way to do the following either on pre-commit or post-commit or any other way.
Here is what I need to be working
- User commits the file
- Something runs (hook or something else)
- That something else from #2 should append static text to the file being committed
Based on this http://subversion.open.collab.net/ds/viewMessage.do?dsForumId=3&dsMessageId=296576 I see that it is not recommended, but there is gotta be a way to append text to file on every commit.
Operating System: Sent Os
Reason why i need it: protect all code files by inserting legal notices