mercurial/helptext/config.txt
branchstable
changeset 51635 fcc149f3fdcb
parent 51376 0f3a091d887b
child 51682 c10fa6388dbf
equal deleted inserted replaced
51634:3b69324d9535 51635:fcc149f3fdcb
  1436   Run after updating the working directory. The changeset ID of first
  1436   Run after updating the working directory. The changeset ID of first
  1437   new parent is in ``$HG_PARENT1``. If updating to a merge, the ID of second new
  1437   new parent is in ``$HG_PARENT1``. If updating to a merge, the ID of second new
  1438   parent is in ``$HG_PARENT2``. If the update succeeded, ``$HG_ERROR=0``. If the
  1438   parent is in ``$HG_PARENT2``. If the update succeeded, ``$HG_ERROR=0``. If the
  1439   update failed (e.g. because conflicts were not resolved), ``$HG_ERROR=1``.
  1439   update failed (e.g. because conflicts were not resolved), ``$HG_ERROR=1``.
  1440 
  1440 
       
  1441 ``prelock``
       
  1442   run before the store lock is taken, mostly used for test and debug.
       
  1443 
       
  1444 ``prewlock``
       
  1445   run before the working copy lock is taken, mostly used for test and debug.
       
  1446 
  1441 .. note::
  1447 .. note::
  1442 
  1448 
  1443    It is generally better to use standard hooks rather than the
  1449    It is generally better to use standard hooks rather than the
  1444    generic pre- and post- command hooks, as they are guaranteed to be
  1450    generic pre- and post- command hooks, as they are guaranteed to be
  1445    called in the appropriate contexts for influencing transactions.
  1451    called in the appropriate contexts for influencing transactions.