changeset 4641:54b735135fd3

Document empty environment variables not being passed to hooks under Windows.
author Patrick Mezard <pmezard@gmail.com>
date Wed, 20 Jun 2007 21:35:41 +0200
parents c7371aa0c153
children 7c5428853566
files doc/hgrc.5.txt
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/hgrc.5.txt
+++ b/doc/hgrc.5.txt
@@ -308,6 +308,11 @@ hooks::
   did not have a "HG_" prefix.  The old unprefixed names are no longer
   provided in the environment.
 
+  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.
+
   The syntax for Python hooks is as follows:
 
     hookname = python:modulename.submodule.callable