How do I create a SVN Commit Message Template and Hook to Verify

前端 未结 4 689
心在旅途
心在旅途 2020-12-14 16:41

I\'m using Visual SVN Server and Tortoise SVN (client) for source control. I would like all developers to standardize on a consistent format for checkin notes.

For

4条回答
  •  不思量自难忘°
    2020-12-14 17:28

    Taken from How to create a Tortoise SVN Checkin Template (modified to fit to more current versions):

    The log template can be customized as per the project requirements and can be used to implement strict log format.

    Adding this to your svn repository is easy :

    1. Select a SVN folder to which you want to apply this go to Subversion properties( right click TortoiseSVN -> Properties)

    2. Select New -> Advanced, then tsvn:logtemplate from the drop down list named Property name.

    3. Add the above templates(or your own) to text area below combo box.

    4. If you want to apply the property to every file and folder in the hierarchy below the current folder, check the Recursive checkbox.

    5. Click on OK to add that property to the list.

    6. Check-in all the folders and files so that everyone else in your team can use the same template.

提交回复
热议问题