# HG changeset patch # User Patrick Mezard # Date 1182369943 -7200 # Node ID 7c5428853566cd6c6f8b73db98d1e1fa9b1de4c6 # Parent 178778ca648f30ef86d80cec6328506a77a82ab9# Parent 54b735135fd30798f959b7422321ebf1adc7d8ab Merge with crew-stable diff -r 178778ca648f -r 7c5428853566 doc/hgrc.5.txt --- a/doc/hgrc.5.txt Wed Jun 20 00:22:51 2007 +0200 +++ b/doc/hgrc.5.txt Wed Jun 20 22:05:43 2007 +0200 @@ -327,6 +327,11 @@ 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