tests/test-unrelated-pull
author Matt Mackall <mpm@selenic.com>
Tue, 07 Nov 2006 14:04:15 -0600
changeset 3619 8c4fd0de5de8
parent 1960 dac4bd67f6c5
child 12156 4c94b6d0fb1c
permissions -rwxr-xr-x
Fix up parent display in logging For changesets with a first parent nullid, but not rev 0, we ought to display a null parent.

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