tests/test-notfound
author Thomas Arendsen Hein <thomas@intevation.de>
Mon, 03 Apr 2006 21:01:33 +0200
changeset 2043 968f036f93a4
parent 910 891b6a262c4b
permissions -rwxr-xr-x
Minor fix for revert: No need to make a backup when forgetting added files. echo foo > foo && hg add foo && hg revert foo creates foo.orig, though foo is not changed or deleted.

#!/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