tests/test-diff-newlines
author Thomas Arendsen Hein <thomas@intevation.de>
Wed, 17 May 2006 19:59:15 +0200
changeset 2303 78e7fd16f472
parent 2248 b914f0557832
permissions -rwxr-xr-x
Corrected tests for commit now consistently stripping last newline.

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