tests/test-conflict
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 29 Jul 2005 21:50:05 +0100
changeset 804 19388dcbac49
parent 800 ec85f9e6f3b1
child 808 8f5637f0a0c0
permissions -rwxr-xr-x
Incorporated most of Aron Griffis suggestions for sh compatibility.

#!/bin/sh

hg init
echo "nothing" > a
hg add a
hg commit -m ancestor -d "0 0"
echo "something" > a
hg commit -m branch1 -d "0 0"
hg co 0
echo "something else" > a
hg commit -m branch2 -d "0 0"
HGMERGE=merge; export HGMERGE
hg up -m 1
hg id
grep -Ev ">>>|<<<" a
hg status