简体   繁体   中英

Displaying a checklist before commit/comments in SVN

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?

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM