Show More
@@ -0,0 +1,20 | |||||
|
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 |
General Comments 0
You need to be logged in to leave comments.
Login now