view tests/test-diff-newlines @ 2478:287b7da4aeaa

fix bug in localrepo.changes. caused by 1e32e2fe8a677c391049d40b8794478976a0a914.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Wed, 21 Jun 2006 16:20:21 -0700
parents b914f0557832
children
line wrap: on
line source

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