view tests/test-issue352 @ 9995:eba6c8687fd2 stable

transplant: fix small bug when a patch fails while using --filter
author Sune Foldager <cryo@cyanite.org>
date Thu, 03 Dec 2009 11:06:44 +0100
parents 1de6e7e1bb9f
children
line wrap: on
line source

#!/bin/sh
# http://mercurial.selenic.com/bts/issue352

"$TESTDIR/hghave" eol-in-paths || exit 80

hg init foo
cd foo

A=`printf 'he\rllo'`

echo foo > "$A"
hg add
hg ci -A -m m
rm "$A"

echo foo > "hell
o"
hg add
hg ci -A -m m

echo foo > "$A"
hg debugwalk

exit 0