doc/hgrc.5.txt
changeset 1734 9488d53233b5
parent 1732 d3e6da334b85
child 1736 50de0887bbcd
--- a/doc/hgrc.5.txt
+++ b/doc/hgrc.5.txt
@@ -178,7 +178,7 @@ hooks::
     but before the transaction has been committed.  Changegroup is
     visible to hook program.  This lets you validate incoming changes
     before accepting them.  Passed the ID of the first new changeset
-    in $NODE.  Exit status 0 allows the transaction to commit.
+    in $HG_NODE.  Exit status 0 allows the transaction to commit.
     Non-zero status will cause the transaction to be rolled back and
     the push, pull or unbundle will fail.
   pretxncommit;;