tests/test-diff-newlines
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 01 Dec 2006 14:46:05 +0100
changeset 3747 b5c4d749f37f
parent 2248 b914f0557832
permissions -rwxr-xr-x
Fix test-notify for systems without or with a different version of diffstat. Some diffstat versions say "1 file changed", others "1 files changed".

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