view tests/test-notfound @ 1314:d37a46859acd

Fix default clone destination The default clone wasn't working: $ hg clone hg abort: repository hg/.hg not found! This was because we were creating the destination directory from the default, then checking whether it existed to determine whether to expand the path.
author mpm@selenic.com
date Thu, 22 Sep 2005 09:47:03 -0700
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