Mercurial > hg > mercurial-crew-with-dirclash
comparison doc/hgrc.5.txt @ 2288:dfa17bd1d45e
remove non-prefixed environment variables from hooks.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Mon, 15 May 2006 09:13:00 -0700 |
parents | 066d0055e430 |
children | 903ab41ac7eb |
comparison
equal
deleted
inserted
replaced
2287:3f18d1eea370 | 2288:dfa17bd1d45e |
---|---|
232 Run after updating the working directory. Changeset ID of first | 232 Run after updating the working directory. Changeset ID of first |
233 new parent is in $HG_PARENT1. If merge, ID of second new parent | 233 new parent is in $HG_PARENT1. If merge, ID of second new parent |
234 is in $HG_PARENT2. If update succeeded, $HG_ERROR=0. If update | 234 is in $HG_PARENT2. If update succeeded, $HG_ERROR=0. If update |
235 failed (e.g. because conflicts not resolved), $HG_ERROR=1. | 235 failed (e.g. because conflicts not resolved), $HG_ERROR=1. |
236 | 236 |
237 In earlier releases, the names of hook environment variables did not | 237 Note: In earlier releases, the names of hook environment variables |
238 have a "HG_" prefix. These unprefixed names are still provided in | 238 did not have a "HG_" prefix. The old unprefixed names are no longer |
239 the environment for backwards compatibility, but their use is | 239 provided in the environment. |
240 deprecated, and they will be removed in a future release. | |
241 | 240 |
242 The syntax for Python hooks is as follows: | 241 The syntax for Python hooks is as follows: |
243 | 242 |
244 hookname = python:modulename.submodule.callable | 243 hookname = python:modulename.submodule.callable |
245 | 244 |