info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Any 'contrib' scripts have access to pre-commit source?


From: Peter Connolly
Subject: Any 'contrib' scripts have access to pre-commit source?
Date: Mon, 26 Jul 2004 15:12:12 -0700

I would like to restrict certain types of changes to specific files in
the repository.  I'm using pserver access.  In order to do this I need
access to the source that is going to be committed.

So, I was planning to write a script that would:

1) examine the pre-commit source
2) return a non-zero return code that would prohibit the commit

commit_prep seems to be the ideal place to trigger such a script, but
there doesn't appear to be any parameters in the commitinfo file that
would forward the pre-commit source to the script.

Any help would be appreciated.

Thanks,
pc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]