# HG changeset patch # User Thomas Arendsen Hein # Date 1182411933 -7200 # Node ID cfa477946181824f4c769580ebf59710090ba08a # Parent 7a7d4937272baf90af6f00bc47807a9172279583 Adjust note about variables not being set for empty values. diff --git a/doc/hgrc.5.txt b/doc/hgrc.5.txt --- a/doc/hgrc.5.txt +++ b/doc/hgrc.5.txt @@ -327,10 +327,9 @@ hooks:: Also, hooks like "commit" will be called in all contexts that generate a commit (eg. tag) and not just the commit command. - Note2: Environment variables with empty values may not be passed to - hooks on platforms like Windows. For instance, $HG_PARENT2 will - not be available under Windows for non-merge changesets while being - set to an empty value under Unix-like systems. + Note2: Environment variables with empty values will not be passed to + hooks. For instance, $HG_PARENT2 will not be set for non-merge + changesets. The syntax for Python hooks is as follows: