tests/test-unrelated-pull
author Christian Ebert <blacktrash@gmx.net>
Wed, 05 Aug 2009 17:19:08 +0200
changeset 9313 8736b1c853ff
parent 1960 dac4bd67f6c5
child 12156 4c94b6d0fb1c
permissions -rwxr-xr-x
notify: do not mime encode multipart templates Mulitpart templates should take care of this themselves. See http://www.selenic.com/pipermail/mercurial/2009-July/027017.html Also catch potential parsing errors gracefully.

#!/bin/sh

mkdir a
cd a
hg init
echo 123 > a
hg add a
hg commit -m "a" -u a -d "1000000 0"

cd ..
mkdir b
cd b
hg init
echo 321 > b
hg add b
hg commit -m "b" -u b -d "1000000 0"

hg pull ../a
hg pull -f ../a
hg heads