tests/test-diff-newlines
author Matt Mackall <mpm@selenic.com>
Tue, 07 Nov 2006 14:04:15 -0600
changeset 3619 8c4fd0de5de8
parent 2248 b914f0557832
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
python -c 'print "confuse str.splitlines\nembedded\rnewline"' > a
hg ci -Ama -d '1 0'
echo clean diff >> a
hg ci -mb -d '2 0'
hg diff -r0 -r1