Red Hat Bugzilla – Bug 116051
[PATCH] cvs does not properly reuse log messages in some cases
Last modified: 2007-11-30 17:07:00 EST
Description of problem:
when multiple files are checked in to a cvs repository via cvs checkin
or cvs commit, the previous log message is expunged from memory too
soon, and so prompting for reuse of a prior log message can fail
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.create a cvs repository with multiple files
2.change both files
3.run cvs ci
4.enter and save a log message
5.when the next file prompts for a checkin log entry, simply exit the
editor without saving the temporary file. You will be informed that
you have not entered a log message, and you will be offered options to
abort, continue, or use the last message.
6.Select (!) (the option to use the last recorded log message again.
an empty log message is recorded
the last entered log message should be reused.
Created attachment 97768 [details]
patch to save the last log message a little longer so the reuse option works
This patch fixes this problem, and allows cvs to properly reuse log messages
between files during checkin
Created attachment 97836 [details]
A slightly better patch
I prefer this patch, which is used upstream in cvs-1.11.13 to fix the problem.
It's smaller, and it also fixes the 'e' command to reedit the log message.
Fix confirmed with cvs-1.11.2-25.
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.