[PATCH] test-identify: require no-outer-repo

Mads Kiilerich mads at kiilerich.com
Thu Mar 5 07:54:29 CST 2009


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1236261239 -3600
# Node ID c638da38dc9b0323415982b27577067cbfccf515
# Parent  2505e9f84153f6a5b513f06fb176417834588a38
test-identify: require no-outer-repo

The test expects "There is no Mercurial repository here (.hg not found)"

diff --git a/tests/test-identify b/tests/test-identify
--- a/tests/test-identify
+++ b/tests/test-identify
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+"$TESTDIR/hghave" no-outer-repo || exit 80
+
 echo % no repo
 hg id
 


More information about the Mercurial-devel mailing list