tests/test-unrelated-pull
author Matt Mackall <mpm@selenic.com>
Sat, 15 Oct 2005 15:04:22 -0700
changeset 1390 ce95599eedac
parent 1308 2073e5a71008
child 1933 7544700fd931
permissions -rwxr-xr-x
Borrow patch header detection heuristic from quilt

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