Mercurial > hg
view tests/test-eolfilename @ 12045:1e8c7999af86
Fix merge-tools.checkconflicts
re.match only looks at the beginning of the merged file, and without
re.MULTILINE the file had to end with ">>>>>>> something".
Now conflict markers inside the file are found, too.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 26 Aug 2010 17:38:43 +0200 |
parents | 2253715fde97 |
children |
line wrap: on
line source
#!/bin/sh # http://mercurial.selenic.com/bts/issue352 "$TESTDIR/hghave" eol-in-paths || exit 80 echo % test issue352 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 # http://mercurial.selenic.com/bts/issue2036 cd .. echo % test issue2039 hg init bar cd bar echo "[extensions]" >> $HGRCPATH echo "color=" >> $HGRCPATH A=`printf 'foo\nbar'` B=`printf 'foo\nbar.baz'` touch "$A" touch "$B" hg status --color=always exit 0