changeset 910:891b6a262c4b

Merge with TAH
author mpm@selenic.com
date Sun, 14 Aug 2005 22:00:16 -0800
parents fcd34a9577e8 (current diff) e2e7a2462ede (diff)
children d46af8e6b858
files doc/hg.1.txt mercurial/commands.py tests/test-help.out tests/test-notfound tests/test-notfound.out
diffstat 2 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-notfound	Sun Aug 14 22:00:16 2005 -0800
@@ -0,0 +1,9 @@
+#!/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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-notfound.out	Sun Aug 14 22:00:16 2005 -0800
@@ -0,0 +1,9 @@
++ hg init
+Is there an error message when trying to diff non-existing files?
++ hg diff not found
+not: No such file or directory
+found: No such file or directory
+Is there an error message when trying to add non-existing files?
++ hg add not found
+not: No such file or directory
+found: No such file or directory