tests/test-committer
author Vadim Gelfer <vadim.gelfer@gmail.com>
Thu, 11 May 2006 10:14:48 -0700
changeset 2266 3f7692b0ff13
parent 2104 f1085d34d20d
child 3461 8b55c0ba8048
permissions -rwxr-xr-x
hooks: add preupdate and update hooks. preupdate run before working dir updated. can prevent update. update run after working dir updated.

#!/bin/sh

unset HGUSER
EMAIL="My Name <myname@example.com>"
export EMAIL

hg init test
cd test
touch asdf
hg add asdf
hg commit -d '1000000 0' -m commit-1
hg tip