- echo "CVS: did you update the ChangeLog for a bug fix?" >> $TMP
- echo "CVS: did you update the hours spent in Bugzilla?" >> $TMP
- echo "CVS: b=<bug>" >> $TMP
- echo "CVS: r=<reviewed_by>" >> $TMP
+ # We can't just put these into the commit template without the leading
+ # "CVS: ", otherwise exiting the commend edit would still leave a valid
+ # comment in the file and the commit will still be done. We need to
+ # make a file without valid comments to allow the commit to be aborted.
+ cat - >> $TMP <<- EOB
+ CVS: b=<bug>
+ CVS: i=<inspected_by>
+ CVS: i=<inspected_by>
+ EOB