abt the process before commit...

Marijn Vriens marijn at metronomo.cl
Mon Apr 20 07:20:31 CDT 2009


On Mon, Apr 20, 2009 at 1:59 PM, Challa, Ramya
<Ramya_Challa at syntelinc.com>wrote:

>  Hi,
>
>
>
> Does the mercurial tool checks for any compilation errors before committing
> the changes made to the parent.??
>
> I am concentrating on COBOL front..
>

By default, mercurial does not check for compilation errors, or anything for
that matter. However it is simple to use hooks [1] to run commands when an
event happens, like committing.

Quite a common workflow is to add a hook for when changes are pushed to a
central repository an external integration server is triggered. This then
compiles the new code and runs the automated tests.

[1]
http://hgbook.red-bean.com/read/handling-repository-events-with-hooks.html

Regards,
       Marijn.

>
>
> Thanks in advance ..!!
>
>
>
> Ramya Challa
>  Confidential: This electronic message and all contents contain information
> from Syntel, Inc. which may be privileged, confidential or otherwise
> protected from disclosure. The information is intended to be for the
> addressee only. If you are not the addressee, any disclosure, copy,
> distribution or use of the contents of this message is prohibited. If you
> have received this electronic message in error, please notify the sender
> immediately and destroy the original message and all copies.Confidential:
> This electronic message and all contents contain information from Syntel,
> Inc. which may be privileged, confidential or otherwise protected from
> disclosure. The information is intended to be for the addressee only. If you
> are not the addressee, any disclosure, copy, distribution or use of the
> contents of this message is prohibited. If you have received this electronic
> message in error, please notify the sender immediately and destroy the
> original message and all copies.
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090420/6b5ebbe8/attachment.htm 


More information about the Mercurial mailing list