tests/test-diff-newlines
author Thomas Arendsen Hein <thomas@intevation.de>
Mon, 16 Oct 2006 22:44:44 +0200
changeset 3417 6bd676ee8b99
parent 2248 b914f0557832
permissions -rwxr-xr-x
Explicitly use "tip" in revision navigation. Rationale: the tip revision is a moving target and if somebody wants tip, it should be delivered.

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