tests/test-issue1438
author Brodie Rao <brodie@bitheap.org>
Fri, 17 Sep 2010 10:21:02 -0500
branchstable
changeset 12320 40c40c6f20b8
parent 7783 2c5b2abfb8be
permissions -rwxr-xr-x
revset: handle re.compile() errors in grep() Raise error.ParseError instead of allowing re.error to bubble up.

#!/bin/sh
"$TESTDIR/hghave" symlink || exit 80

rm -rf a
hg init a
cd a

ln -s foo link
hg add link
hg ci -mbad link
hg rm link
hg ci -mok
hg diff -g -r 0:1 > bad.patch
hg up 0
hg import --no-commit bad.patch
hg st