tests/test-conflict
author Brendan Cully <brendan@kublai.com>
Thu, 14 Jun 2007 10:58:49 -0700
changeset 4584 0d26e3d0eeeb
parent 4385 93a4e72b4f83
permissions -rwxr-xr-x
Make parents with a file but not a revision use working directory revision.

#!/bin/sh

hg init
echo "nothing" > a
hg add a
hg commit -m ancestor -d "1000000 0"
echo "something" > a
hg commit -m branch1 -d "1000000 0"
hg co 0
echo "something else" > a
hg commit -m branch2 -d "1000000 0"
hg merge 1
hg id
cat a
hg status