tests/test-unrelated-pull
author mpm@selenic.com
Thu, 22 Sep 2005 10:12:42 -0700
changeset 1316 b650bfdfc7ee
parent 1308 2073e5a71008
child 1933 7544700fd931
permissions -rwxr-xr-x
Hook fixups Pass the first new changeset node to the changegroup hook Call commit for each changeset in a pull changegroup Improve hook docs

#!/bin/sh

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

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

hg pull ../a
hg heads