changeset 12275:88a42bf5fa46

test-subrepo-recursion: test missing subrepo
author Martin Geisler <mg@lazybytes.net>
date Mon, 13 Sep 2010 15:13:30 +0200
parents c02e1ed3d407
children 0c605364373c
files tests/test-subrepo-recursion.t
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-subrepo-recursion.t	Mon Sep 13 13:09:31 2010 +0200
+++ b/tests/test-subrepo-recursion.t	Mon Sep 13 15:13:30 2010 +0200
@@ -316,4 +316,8 @@
   $ hg incoming -S --bundle incoming.hg
   abort: cannot combine --bundle and --subrepos
 
-  $ exit 0
+Test missing subrepo:
+
+  $ rm -r foo
+  $ hg status
+  warning: unknown revision '65903cebad86f1a84bd4f1134f62fa7dcb7a1c98' in foo