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

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


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