tests/test-diffdir
author Matt Mackall <mpm@selenic.com>
Tue, 07 Nov 2006 14:04:15 -0600
changeset 3619 8c4fd0de5de8
parent 3199 096f1c73cdc3
child 3825 000d122071b5
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

hg init
touch a
hg add a
hg ci -m "a" -d "1000000 0"

echo 123 > b
hg add b
hg diff --nodates

hg diff --nodates -r tip

echo foo > a
hg diff --nodates