tests/test-diff-newlines
author Patrick Mezard <pmezard@gmail.com>
Mon, 13 Aug 2007 19:42:52 +0200
changeset 5163 b51d07ed1b18
parent 2248 b914f0557832
permissions -rwxr-xr-x
demandimport: ignore pwd and grp. Both are unavailable under Windows and tarfile detects them via ImportError.

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