tests/test-conflict
author Patrick Mezard <pmezard@gmail.com>
Tue, 17 Jul 2007 23:35:24 +0200
changeset 4904 59b8ff35c4ed
parent 4385 93a4e72b4f83
permissions -rwxr-xr-x
patch: patches should be read and written in binary mode when possible.

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