tests/test-diff-newlines
author Martin Geisler <mg@lazybytes.net>
Sun, 17 May 2009 16:25:48 +0200
changeset 8517 110763cc3ab0
parent 2248 b914f0557832
permissions -rwxr-xr-x
templater: lowercase error message Changing this messages should be safe: automated scripts ought to have debugged their templates and wont grep for this error message.

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