author | Vadim Gelfer <vadim.gelfer@gmail.com> |
Fri, 18 Aug 2006 14:49:12 -0700 | |
changeset 2946 | a7a9ba7a9f48 |
child 2949 | 7356fa3cff2c |
permissions | -rwxr-xr-x |
2946 | 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 |