[cvsnt] Re: Problem with first argument to post-commit, the committed path

Tony Hoyle tmh at nodomain.org
Tue Apr 13 20:19:16 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Samuel R. Neff wrote:


> Can you confirm if this is a bug in CVS and what the correct behavior should
> be?
> 
> 1.  run post-commit one time for each directory being committed
> 2.  run post-commit one time and pass the lowest common directory (my
> preference)

postcommit should be definition be run only once - after all the locks have 
been released on the repository and it's safe to do cvs operations again.

The module parameter is IIRC the last thing that was committed... it's not 
that useful in the general case, but that's not what postcommit is good at.

If you want to know everything that is committed build lists up using 
commitinfo/loginfo, then parse them later.

Tony



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook