tests/test-diff-newlines
author Matt Mackall <mpm@selenic.com>
Thu, 26 Jun 2008 18:44:54 -0500
changeset 6757 55c71226eceb
parent 2248 b914f0557832
permissions -rwxr-xr-x
purge: cleanup - remove casefolding check, no longer needed - fold error function into remove - simplify eol logic - remove force logic and parameters

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