[cvsnt] Re: $CVSROOT/postcommand called after a failure?

David Somers dsomers at omz13.com
Tue May 30 23:32:41 BST 2006


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.


Tony Hoyle wrote:
> David Somers wrote:
>> Shouldn't postcommand only be done when a command is successful?
>> 
>>
> No.  postcommand is called after a command.
> 
> It's possible the return value from the command should be available but
> it isn't currently.

It would be a good idea to know if the command actually/successfully
happened or not.

For example, if you do cvs -n commit -m "dummy", then postcommand is run
even though nothing has actually been committed (because of -n).

Greetings,

David Somers
typographer/programmer/whatever



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