Question

Currently we use TortoiseSVN and VisualSVN as our source control. I have altered the pre-commit hook successfully to block unwanted files etc being committed to the repository. But what I want to achieve now is a check-list that will act as aide memoir before committing.

Is this possible? If so what is required to be done I can't see how it will work with the pre-commit hook as I would want the check-list displayed when they hit commit on the context menu to bring up all the changed files and the log message?

Was it helpful?

Solution

Yip TortoiseSVN Client hooks were the way to go

I grabbed the StartCommit.js file from the SVN repository and then tailored it to output what I wanted.

Then I simply created a hook calling WScript \StartCommit.js

OTHER TIPS

Have you seen this pre-commit hook example? Some variant of it was used in a shop I used to work at and prevented a lot of common mistakes.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top