##// END OF EJS Templates
hgrc.5: use NOTE admonition paragraph
Martin Geisler -
r8770:cc001913 default
parent child Browse files
Show More
@@ -118,7 +118,7 b' changesets. You can define subsequent al'
118
118
119 stable5 = latest -b stable
119 stable5 = latest -b stable
120
120
121 *Note*: It is possible to create aliases with the same names as
121 NOTE: It is possible to create aliases with the same names as
122 existing commands, which will then override the original definitions.
122 existing commands, which will then override the original definitions.
123 This is almost always a bad idea!
123 This is almost always a bad idea!
124 --
124 --
@@ -539,13 +539,13 b' update;;'
539 in `$HG_PARENT2`. If the update succeeded, `$HG_ERROR=0`. If the
539 in `$HG_PARENT2`. If the update succeeded, `$HG_ERROR=0`. If the
540 update failed (e.g. because conflicts not resolved), `$HG_ERROR=1`.
540 update failed (e.g. because conflicts not resolved), `$HG_ERROR=1`.
541
541
542 Note: it is generally better to use standard hooks rather than the
542 NOTE: it is generally better to use standard hooks rather than the
543 generic pre- and post- command hooks as they are guaranteed to be
543 generic pre- and post- command hooks as they are guaranteed to be
544 called in the appropriate contexts for influencing transactions.
544 called in the appropriate contexts for influencing transactions.
545 Also, hooks like "commit" will be called in all contexts that
545 Also, hooks like "commit" will be called in all contexts that
546 generate a commit (e.g. tag) and not just the commit command.
546 generate a commit (e.g. tag) and not just the commit command.
547
547
548 Note2: Environment variables with empty values may not be passed to
548 NOTE: Environment variables with empty values may not be passed to
549 hooks on platforms such as Windows. As an example, `$HG_PARENT2` will
549 hooks on platforms such as Windows. As an example, `$HG_PARENT2` will
550 have an empty value under Unix-like platforms for non-merge
550 have an empty value under Unix-like platforms for non-merge
551 changesets, while it will not be available at all under Windows.
551 changesets, while it will not be available at all under Windows.
General Comments 0
You need to be logged in to leave comments. Login now