tests/test-merge3
author Vadim Gelfer <vadim.gelfer@gmail.com>
Thu, 11 May 2006 10:14:48 -0700
changeset 2266 3f7692b0ff13
parent 1933 7544700fd931
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

hg init
echo This is file a1 > a
hg add a
hg commit -m "commit #0" -d "1000000 0"
touch b
hg add b
rm b
hg commit -A -m"comment #1" -d "1000000 0"