Document empty environment variables not being passed to hooks under Windows.
authorPatrick Mezard <pmezard@gmail.com>
Wed, 20 Jun 2007 21:35:41 +0200
changeset 4641 54b735135fd3
parent 4639 c7371aa0c153
child 4642 7c5428853566
Document empty environment variables not being passed to hooks under Windows.
doc/hgrc.5.txt
--- 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