equal
deleted
inserted
replaced
732 Commands or Python functions that get automatically executed by |
732 Commands or Python functions that get automatically executed by |
733 various actions such as starting or finishing a commit. Multiple |
733 various actions such as starting or finishing a commit. Multiple |
734 hooks can be run for the same action by appending a suffix to the |
734 hooks can be run for the same action by appending a suffix to the |
735 action. Overriding a site-wide hook can be done by changing its |
735 action. Overriding a site-wide hook can be done by changing its |
736 value or setting it to an empty string. Hooks can be prioritized |
736 value or setting it to an empty string. Hooks can be prioritized |
737 by adding a prefix of ``priority`` to the hook name on a new line |
737 by adding a prefix of ``priority.`` to the hook name on a new line |
738 and setting the priority. The default priority is 0. |
738 and setting the priority. The default priority is 0. |
739 |
739 |
740 Example ``.hg/hgrc``:: |
740 Example ``.hg/hgrc``:: |
741 |
741 |
742 [hooks] |
742 [hooks] |