changeset 4642:7c5428853566

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Wed, 20 Jun 2007 22:05:43 +0200
parents 178778ca648f (current diff) 54b735135fd3 (diff)
children a39cec1d5cb8
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
@@ -327,6 +327,11 @@ 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.
+
   The syntax for Python hooks is as follows:
 
     hookname = python:modulename.submodule.callable