view tests/test-notfound @ 1880:05c7d75be925

fix broken environment save/restore when a hook runs. move "run commend with different env/cwd" code out to function in util. new function is called esystem.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 10 Mar 2006 22:24:19 -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