view tests/test-diff-newlines @ 3178:b3e103c388fc

mq: don't write applied patches into series twice in restore
author Brendan Cully <brendan@kublai.com>
date Wed, 27 Sep 2006 14:50:20 -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