view tests/test-hghave @ 10883:196908117c27 stable

patch: don't look for headers in diff lines If you have a diff line that matches a header line, the patch splitter currently breaks your patch at this line. For example a line like: +key: value This can lead to "malformed patch" exceptions. Now fixed.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Fri, 09 Apr 2010 20:34:05 +0200
parents 41a2c5cbcb6a
children
line wrap: on
line source

#!/bin/sh
# Testing that hghave does not crash when checking features

"$TESTDIR/hghave" --test-features 2>/dev/null