tests/test-diff-newlines
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Sun, 07 Feb 2010 14:53:17 +0100
changeset 10370 c050b7e4e778
parent 2248 b914f0557832
permissions -rwxr-xr-x
mq: fix typo, thanks pmezard

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