tests/test-diff-newlines
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 08 Sep 2006 10:01:45 +0200
changeset 3070 24c1db20990c
parent 2248 b914f0557832
permissions -rwxr-xr-x
Include section name and parameter name (if available) in config errors. Added tests for this.

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