tests/test-diff-newlines
author Thomas Arendsen Hein <thomas@intevation.de>
Sun, 29 Oct 2006 10:53:51 +0100
changeset 3578 3b4e00cba57a
parent 2248 b914f0557832
permissions -rwxr-xr-x
Define and use nullrev (revision of nullid) instead of -1.

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