Check in Policy to Force Comments in TFS

| 2 Comments

Jeff Atwood has posted a sample to allow you to implement what has got to be the single most requested check-in policy for Team System, forcing a user to comment their change. Based on some earlier posts by James Manning, Jeff's download also contains some good example check-in policies. To be honest, if James and Jeff's examples where included in the standard TFS install then most customers I have worked with wouldn't need to go near implementing their own policies.

If you are writing your own check-in policies then I encourage you to keep an eye on James Manning's blog. He frequently offers tidbits of advice above that of the official guidance.

2 Comments

I'm not sure this is the panacea it's probably suggested to be. I think a good versioning system should be able to show you the changes allowing you to understand them without having to rely on comments. Ok, so comments are pretty good, but if changes are made (and logged) in an atomic manner, you should be able to check the effects of all changes.

I know what you are saying. A comment that says "changed line 32 to read foobar" is no good. I try to comment why I have made the change not what. If people want to see what they can do a diff and get a much more accurate answer...

Archives

Creative Commons License
This blog is licensed under a Creative Commons License.