[cvsnt] Re: postcommit file

Bo Berglund bo.berglund at telia.com
Wed Feb 12 21:06:30 GMT 2003


On Wed, 12 Feb 2003 14:03:26 -0500, John Peacock <jpeacock at rowman.com>
wrote:

>I finally had a free minute and installed the latest and greatest CVSNT server 
>executable and want to try using the postcommit file to keep our test websites 
>synced automatically.
>
>The documentation is a little thin; is it more like the commitinfo file 
>(repository and filenames passed) or is it more like the loginfo file where some 
>formatting of the parameters is permitted.  Has anyone got an example of what 
>you are doing?  Did you write a script to do the update or did you just cram the 
>command string into the file directly?
>
>TIA
>
>John

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).

John Peacock wrote a website synchronization tool for CVSNT that does
what I think you are after. Links are available from the DevGuy site:

http://www.devguy.com/fp/cfgmgmt/cvs/CVSNTUpd.html

It is supposedly also on SourceForge, but I have not found it there.


/Bo
(Bo Berglund, developer in Sweden)


More information about the cvsnt mailing list