tests/test-diff-newlines
author Matt Mackall <mpm@selenic.com>
Wed, 21 Jan 2009 11:15:47 -0600
changeset 7675 011e69b96c69
parent 2248 b914f0557832
permissions -rwxr-xr-x
verify: don't trip over binary files starting with 01 0a

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