For a CVS commit we are using an "rcsinfo" template. In this template
a developer can enter i.e. a BugId number. This number will later be
used
to create a tag, i.e. "bugid-1023".

I already found a way to extract the bug-id from the log message, and
to set the tag later on, but one thing I cannot achive:

        How can I remove the "bug-id" line from the log message?

If I understood the "Cederqvist" correctly, I have the following
possibilities to gain control if a "cvs commit" takes place:

        commitinfo - no access to the log message
        editinfo   - access to log message, but not invoked on remote
                     requests or if "-m message" was specified
        verifymsg  - access to log message, invoked unconditionally,
                     but no changes of the message possible
        loginfo    - commit already took place, no changing of log
message
                     possible

If I used an "editinfo" script, it would work locally, but not remotely:
If a remote user entered

        cvs commit -m "bugid: 1023" file.c

The script meantioned in "editinfo" will not be executed.
A "verifymsg" script will be executed, but there is no way to
change the text of the message from a "verifymsg" script.

There certainly exists a simple way to achive this, doesn't it?

Heiner

Reply via email to