How do I generate a default comment for cvs? I’d like every checkin comment to start with “Change #: ” and be available for the user to edit.
I know this can be done globally in the repository. Can it also be done as a single user on the client side?
I am using command line cvs.
We already have verification that the checkin starts with “Change #: ” and that a valid change number is provided. I’d like to default the checkin comment to “Change #: ” to save developers some typing. How can this be done globally? Can it be done locally/client side?
You can use the rcsinfo file to specify a template to use for the check in.
See this page for details.
This is done server side, so you need your template files on your server.
Also, as noted above, you can override the template with your own check in comments on the CVS command line.