tests/test-diff-newlines
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Fri, 19 Jun 2009 13:58:48 +0200
changeset 8834 6d36fc70754e
parent 2248 b914f0557832
permissions -rwxr-xr-x
merge: rename -S/--show option to -P/--preview

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