tests/test-diff-newlines
author Vadim Gelfer <vadim.gelfer@gmail.com>
Thu, 11 May 2006 22:10:47 -0700
changeset 2272 e9a0ed9ed4d9
parent 2248 b914f0557832
permissions -rwxr-xr-x
revert: fix corner case found by faheem mitha. if file not in dest manifest, remove only if in source manifest.

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