tests/test-diff-newlines
author Martin Geisler <mg@lazybytes.net>
Fri, 07 May 2010 17:01:14 +0200
branchstable
changeset 11102 275198bc904a
parent 2248 b914f0557832
permissions -rwxr-xr-x
commands: explain that "hg serve" is mostly for ad-hoc sharing

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