tests/test-diff-newlines
author Thomas Arendsen Hein <thomas@intevation.de>
Mon, 23 Oct 2006 14:56:51 +0200
changeset 3484 c3345b0f2fcd
parent 2248 b914f0557832
permissions -rwxr-xr-x
Commit username: Better error message, abort on empty name, fix documentation.

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