changeset 2946:a7a9ba7a9f48

add test for issue 322. no .out file because issue is still live.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 18 Aug 2006 14:49:12 -0700
parents 731f6b3d27c2
children 7356fa3cff2c
files tests/test-issue322
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-issue322	Fri Aug 18 14:49:12 2006 -0700
@@ -0,0 +1,20 @@
+#!/bin/sh
+# http://www.selenic.com/mercurial/bts/issue322
+
+hg init a
+cd a       
+echo a > a 
+hg commit -Ama 
+rm a       
+mkdir a    
+echo a > a/a
+
+echo % should fail - will corrupt dirstate
+hg add a/a
+hg commit -mb
+
+echo % should fail - manifest is corrupt
+hg verify
+cd ..      
+
+hg --debug --traceback clone a b