Subject: Re: CVS, how to change commit handling.
To: Richard Rauch <rkr@olib.org>
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
List: netbsd-help
Date: 01/23/2003 05:14:06
On 2003-01-22 00:39, Richard Rauch <rkr@olib.org> wrote:
> I couldn't find this question answered on the CVS home page, but I
> thought that I'd ask here, since NetBSD ships with CVS and the
> developers use it.  (^&
>
> I'd like to cause the *output* of a "cvs diff" to appear as part of
> the template for a "cvs commit".
[...]
> (The CVS docs are a little unclear about what (if anything) happens
> to the output of commands run during commit, say.  Though
> "commitinfo" commands appear to have their output discarded.  I've
> also dipped into the CVS source code, but have yet to see what I'm
> looking for.)

You can control what happens with the log messages using your own
custom CVSROOT/loginfo stuff.  It requires quite a bit of hacking
to make something that works with any CVS branch / file revision,
but it's certainly doable.