Ryan Schmidt wrote on Tue, Apr 23, 2013 at 01:45:49 -0500:
> 3. If you want the actual source code in the repository to contain
> these comments, then you're talking about several scripts: one that
> the developers must invoke in place of "svn commit" to commit their
> work, which transforms their files in the ways you desire before
> committing them, and another that runs as a pre-commit hook and
> verifies that the incoming commit conforms to these requirements (and
> rejects the commit if not).

Or, more simply, developers run 'commit' normally and a post-commit hook
appends the blame-comments.  And figure out a way to address the race
condition (another dev commits before post-commit runs).

Reply via email to