info-cvs
[Top][All Lists]
Advanced

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

Re: Where is the postcommit file?


From: Mark D. Baushke
Subject: Re: Where is the postcommit file?
Date: Wed, 15 Sep 2004 02:59:48 -0700

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

Anand Graves <address@hidden> writes:

> I have tried to use the loginfo file for updating a website on a linux
> server, but I couldn't get it to work. It hangs on a commit and it
> doens't go further.

A standard linux distribution is likely to be using the CVS package that
comes out of the cvshome.org version. There is no postcommit feature for
the cvshome.org version of CVS as there is in the CVSNT version.

> Then I read about a postcommit file at
> http://www.cvsnt.org/pipermail/cvsnt/2004-May/012939.html
> 
> But what is the name of the postcommit file and where is it in the
> CVSROOT directory? I can't find it.

If you install a cvsnt.org server, then I expect you would find it
called "postcommit" ... I am given to understand that the cvsnt.org
server will work fine on standard linux distributions.

Otherwise, you will need to take care to use tricks to delay the
invocation of a command that will update your website after the
currently executing cvs commit finally unlocks all of the cvs locks it
has created.

As of cvs 1.12.10, there will be a few more script hooks in the
cvshome.org version of CVS (postadmin, posttag and postwatch), but I
believe that loginfo is still the last in the chain for a commit...

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

iD8DBQFBSBKU3x41pRYZE/gRAgFaAKCOgEXYcxwnCqbdoSwXg3RvcYoD+ACeLkHP
JPslWEslDMKxKgAkm1fXD7E=
=tb0A
-----END PGP SIGNATURE-----




reply via email to

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