tests/test-diff-newlines
author Matt Mackall <mpm@selenic.com>
Sat, 29 Mar 2008 12:39:47 -0500
changeset 6431 a42d8d3e6ea9
parent 2248 b914f0557832
permissions -rwxr-xr-x
copies: refactor symmetricdifference as _findlimit We only need to track the lowest revision seen, which makes things simpler.

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