[cvsnt] Re: postcommit file

Tony Hoyle tmh at nodomain.org
Wed Feb 12 21:12:02 GMT 2003


Bo Berglund wrote:


> Generally you would need to plug this into the loginfo script, it
> executes after the commit has succeeded. Using commitinfo means that
> you are called before the commit (in order to approve or disapprove
> the whole commit operation).

Not really... when loginfo is called the locks are still on the repository,
so you can't perform any cvs operations.  postcommit is the perfect place
for this.

Postcommit doesn't have any input other than the repository name on the
command line... it's the last things that's called before cvs finishes.

Tony



More information about the cvsnt mailing list