view tests/test-notfound @ 943:e8e5db72ed51

Add --cwd global option, to change directory before doing anything. Useful for interacting with a program presenting a UI, such as Emacs.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 18 Aug 2005 14:58:14 -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