tests/test-diff-newlines
author Brendan Cully <brendan@kublai.com>
Wed, 27 Sep 2006 14:32:53 -0700
changeset 3184 87b7ae306d54
parent 2248 b914f0557832
permissions -rwxr-xr-x
mq: bail out if a patch appears more than once in the series file. Closes: #379.

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