Hi,

My goal was to make cvs (in base) to show a template (with files
commiting) in editor when "cvs commit" is executed. E.g.:

Modified files: program.c program.h
Fix: __fill this up__
Comments: __fill this up__

Where "program.c program.h" is auto filled in (by cvs hooks?). The
reason for this is so to make "cvs log" or "cvs log source_file" shows
up every log entry with files modified and it's purpose.

Reading the docs, it points to "rcsinfo" file in CVSROOT might be able
to do it. So I did a "pkg_add cvs-guide" and read
/usr/local/share/doc/cvs-guide/html/cvsbook.html. Gave a few tries using
hooks commitinfo, loginfo, verifymsg, rcsinfo & loginfo and only managed
to make cvs present static template in editor (vi) from a template file.

I can't seem to figure out how to make it include file name committing
into the template. Anyone got this working? How do you make it work? 

Edward.

Reply via email to