Mercurial > hg
comparison tests/test-issue322.out @ 2953:3d5547845158
fix issue 322.
do not allow to add files that shadow files or directories already in dirstate.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Fri, 18 Aug 2006 21:03:29 -0700 |
parents | |
children | e3dffbdc6522 |
comparison
equal
deleted
inserted
replaced
2949:7356fa3cff2c | 2953:3d5547845158 |
---|---|
1 % file replaced with directory | |
2 adding a | |
3 % should fail - would corrupt dirstate | |
4 abort: file named 'a' already in dirstate | |
5 % directory replaced with file | |
6 adding a/a | |
7 % should fail - would corrupt dirstate | |
8 abort: directory named 'a' already in dirstate | |
9 % directory replaced with file | |
10 adding b/c/d | |
11 % should fail - would corrupt dirstate | |
12 abort: directory named 'b' already in dirstate |