equal
deleted
inserted
replaced
842 priority.incoming.autobuild = 1 |
842 priority.incoming.autobuild = 1 |
843 |
843 |
844 Most hooks are run with environment variables set that give useful |
844 Most hooks are run with environment variables set that give useful |
845 additional information. For each hook below, the environment variables |
845 additional information. For each hook below, the environment variables |
846 it is passed are listed with names of the form ``$HG_foo``. The |
846 it is passed are listed with names of the form ``$HG_foo``. The |
847 ``$HG_HOOKTYPE`` variable is set for all hooks. It contains the type of |
847 ``$HG_HOOKTYPE`` and ``$HG_HOOKNAME`` variables are set for all hooks. |
848 hook which triggered the run. In the example about this will be |
848 their respectively contains the type of hook which triggered the run and |
849 ``$HG_HOOKTYPE=incoming``. |
849 the full name of the hooks in the config. In the example about this will |
|
850 be ``$HG_HOOKTYPE=incoming`` and ``$HG_HOOKNAME=incoming.email``. |
850 |
851 |
851 ``changegroup`` |
852 ``changegroup`` |
852 Run after a changegroup has been added via push, pull or unbundle. ID of the |
853 Run after a changegroup has been added via push, pull or unbundle. ID of the |
853 first new changeset is in ``$HG_NODE`` and last in ``$HG_NODE_LAST``. URL |
854 first new changeset is in ``$HG_NODE`` and last in ``$HG_NODE_LAST``. URL |
854 from which changes came is in ``$HG_URL``. |
855 from which changes came is in ``$HG_URL``. |