1 #!/bin/sh
2
3 hg init
4 python -c 'print "confuse str.splitlines\nembedded\rnewline"' > a
5 hg ci -Ama -d '1 0'
6 echo clean diff >> a
7 hg ci -mb -d '2 0'
8 hg diff -r0 -r1