tests/test-diff-newlines
author Emanuele Aina <em@nerd.ocracy.org>
Wed, 06 Jun 2007 22:17:35 +0200
changeset 4691 ca4971347e0a
parent 2248 b914f0557832
permissions -rwxr-xr-x
purge: don't delete ignored files if --all is not specified

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