Is it possible to require comments when committing changes?
Comments
5 comments
-
Which source control system are you using?
-
Microsoft's TFS
-
It's not possible to enforce this yet, but we hope to add this at some point (probably in 2013). Unfortunately TFS doesn't enforce this at the server side, which means that clients can ignore any policy!
You could in theory use SQL Connect instead if you really need to enforce this, and don't mind working in Visual Studio. -
Well, here's to the future. Thanks for the prompt reply.
-
TFS policy checking has been added and is available in the latest version of SQL Source Control (3.3.1) which can be downloaded here: http://download.red-gate.com/checkforupdates/SQLSourceControl/SQLSourceControl_3.3.1.30.exe.
If you set up a TFS policy to check for commit comments then SQL Source Control will now evaluate this. (See here for details on setting up a commit comment policy: http://stackoverflow.com/questions/13980521/team-foundation-service-mandatory-comments-on-check-in.)
Anna Hall
Red Gate developer
Add comment
Please sign in to leave a comment.