equal
deleted
inserted
replaced
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 |