Checkin policy for subversion/teamcity?

Hi guys,

Just wondering if it's possible to create some kind of rule on checkins (or builds) where a user has to enter a comment into the source control system (in our case subversion). Not sure if it's a subversion thing (can't seem to find any way to enforce it) or something that can be done in team city (failing the build if there's no checkin comments).


1 comment
Comment actions Permalink

If you have administrative access to the server, you can create a pre-commit hook in Subversion that will block the commit if there's no text in the comment. I've never done it, so I'm not sure how, but I am sure it's possible. Not sure how that plays with TC's pre-tested commits, though.


Please sign in to leave a comment.