comparison tests/test-issue322 @ 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
children 7356fa3cff2c
comparison
equal deleted inserted replaced
2945:731f6b3d27c2 2946:a7a9ba7a9f48
1 #!/bin/sh
2 # http://www.selenic.com/mercurial/bts/issue322
3
4 hg init a
5 cd a
6 echo a > a
7 hg commit -Ama
8 rm a
9 mkdir a
10 echo a > a/a
11
12 echo % should fail - will corrupt dirstate
13 hg add a/a
14 hg commit -mb
15
16 echo % should fail - manifest is corrupt
17 hg verify
18 cd ..
19
20 hg --debug --traceback clone a b