view tests/test-notfound @ 1867:91ebf29c1595

add -f/--force to remove command. else to remove modified file, must use "hg revert; hg rm" or "rm; hg rm --after".
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Wed, 08 Mar 2006 15:14:24 -0800
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