tests/test-diff-newlines
author Matt Mackall <mpm@selenic.com>
Mon, 18 Jun 2007 13:24:34 -0500
changeset 4615 a8be3c875988
parent 2248 b914f0557832
permissions -rwxr-xr-x
dirstate: hide internal vars Add an __iter__ method so commands don't need to poke at _map.

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