view tests/test-notfound @ 1722:681c5c211b92

catch errors and throw exception with invalid binary patch data
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 15 Feb 2006 04:37:47 +0100
parents 891b6a262c4b
children
line wrap: on
line source

#!/bin/sh

hg init

echo "Is there an error message when trying to diff non-existing files?"
hg diff not found

echo "Is there an error message when trying to add non-existing files?"
hg add not found