view tests/test-issue1089 @ 10475:2253715fde97

color: don't crash on invalid status codes (issue2036) If an unknown file with a newline appears in the status output, color shouldn't raise a KeyError trying to parse second line in the filename.
author Brodie Rao <me+hg@dackz.net>
date Sun, 14 Feb 2010 17:08:52 -0500
parents 2268edff1bec
children
line wrap: on
line source

#!/bin/sh

hg init a
cd a
mkdir a
echo a > a/b
hg ci -Am m
hg rm a
hg ci -m m a

mkdir a b
echo a > a/b
hg ci -Am m
hg rm a
cd b
# relative delete
hg ci -m m ../a