Show More
@@ -604,9 +604,9 b' variables it is passed are listed with n' | |||||
604 | ``post-<command>`` |
|
604 | ``post-<command>`` | |
605 | Run after successful invocations of the associated command. The |
|
605 | Run after successful invocations of the associated command. The | |
606 | contents of the command line are passed as ``$HG_ARGS`` and the result |
|
606 | contents of the command line are passed as ``$HG_ARGS`` and the result | |
607 |
code in ``$HG_RESULT``. Parsed command line arguments are passed as |
|
607 | code in ``$HG_RESULT``. Parsed command line arguments are passed as | |
608 | ``$HG_PATS`` and ``$HG_OPTS``. These contain string representations of |
|
608 | ``$HG_PATS`` and ``$HG_OPTS``. These contain string representations of | |
609 |
the python data internally passed to <command>. ``$HG_OPTS`` is a |
|
609 | the python data internally passed to <command>. ``$HG_OPTS`` is a | |
610 | dictionary of options (with unspecified options set to their defaults). |
|
610 | dictionary of options (with unspecified options set to their defaults). | |
611 | ``$HG_PATS`` is a list of arguments. Hook failure is ignored. |
|
611 | ``$HG_PATS`` is a list of arguments. Hook failure is ignored. | |
612 |
|
612 | |||
@@ -616,7 +616,7 b' variables it is passed are listed with n' | |||||
616 | are passed as ``$HG_PATS`` and ``$HG_OPTS``. These contain string |
|
616 | are passed as ``$HG_PATS`` and ``$HG_OPTS``. These contain string | |
617 | representations of the data internally passed to <command>. ``$HG_OPTS`` |
|
617 | representations of the data internally passed to <command>. ``$HG_OPTS`` | |
618 | is a dictionary of options (with unspecified options set to their |
|
618 | is a dictionary of options (with unspecified options set to their | |
619 |
defaults). ``$HG_PATS`` is a list of arguments. If the hook returns |
|
619 | defaults). ``$HG_PATS`` is a list of arguments. If the hook returns | |
620 | failure, the command doesn't execute and Mercurial returns the failure |
|
620 | failure, the command doesn't execute and Mercurial returns the failure | |
621 | code. |
|
621 | code. | |
622 |
|
622 |
General Comments 0
You need to be logged in to leave comments.
Login now