Several developers are using a c++ code repository hosted on an OpenBSD 2.9
box.  We'd like to have a script automatically run on commits that would run
a code beautifier on whatever code we submit.  This way if we later update
we will have nice pretty code.  :-).

The probem I am having is that I can't figure out how to hook this script
into cvs.  Commitinfo in CVSROOT will let a script run on commits, but the
file i want to edit doesn't exist on the server, just the cvs version of the
file.

How can I make a script run on commits, server-side if possible, that would
actually have access to the raw text of the C++ file being commited and
could in fact modify it before the commit actually happens?

Or, will I have to dive into the cvs code and implement this "feature"
myself? :-).

Thanks a lot guys,

Justin Dubs


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to