-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rob Desbois <[EMAIL PROTECTED]> writes:

> I'm using loginfo to run a script which upon commit, will add a
> notification to any specified bugs on our bug-tracking system. This
> notification contains teh log message and the files which were
> affected by the commit.

Okay. Lots of folks do something similar.

> When committing multiple files across several directories, they are
> split into several commits

Well, it is still one commit, it is just running the script multiple
times -- once per each directory.

> which results in several bugnotes being added.

Okay.

> Is there any way to change this behaviour and force it to perform the
> whole lot as a single commit?

Take a look at the contrib/commit_prep and contrib/log_accum scripts in
the CVS source distribution.

Or, visit http://savannah.nongnu.org/projects/cvs/ and browse the "CVS"
area to get them

http://cvs.savannah.nongnu.org/viewcvs/ccvs/contrib/?root=cvs

The commit_prep.pl script will do precommit checks and remember the list
of directories visited. The log_accum.pl script will know from the
commit_prep.pl script when the last of them has been reached and allow
you to build up a single message to be attached to your bug tracking
system... some modification will be required.

        -- Mark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEfHVDCg7APGsDnFERAj7MAJ9To6p8uqNhUiaeFEcb5fq0R9rI4ACeJwrk
0pRrM61QG40E+aBBS0RSgdY=
=vh0J
-----END PGP SIGNATURE-----


_______________________________________________
info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs

Reply via email to