tests/test-diff-newlines
author Stephen Darnell <stephen@darnell.plus.com>
Tue, 26 Sep 2006 00:05:24 +0100
changeset 3192 096f1c73cdc3
parent 2248 b914f0557832
permissions -rwxr-xr-x
Add -D/--nodates options to hg diff/export that removes dates from diff headers and replace uses of sed in the tests with --nodates.

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