tests/test-diff-newlines
author Brendan Cully <brendan@kublai.com>
Mon, 18 Dec 2006 12:22:43 -0800
changeset 3930 01d98d68d697
parent 2248 b914f0557832
permissions -rwxr-xr-x
Add revlog.LookupError exception, and use it instead of RevlogError. Remove repo.LookupError, which devolves to the revlog version.

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