tests/test-conflict
author Mads Kiilerich <mads@kiilerich.com>
Wed, 29 Jul 2009 22:14:46 +0200
changeset 9284 4a1b24dbf753
parent 4387 93a4e72b4f83
permissions -rwxr-xr-x
test-repair-strip: Don't rely on cat error message

#!/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