Show More
@@ -1,41 +1,44 | |||
|
1 | 1 | #!/bin/sh |
|
2 | 2 | |
|
3 | 3 | "$TESTDIR/hghave" icasefs || exit 80 |
|
4 | 4 | |
|
5 | 5 | echo '% test file addition with bad case' |
|
6 | 6 | hg init repo1 |
|
7 | 7 | cd repo1 |
|
8 | 8 | echo a > a |
|
9 | 9 | hg add A |
|
10 | 10 | hg st |
|
11 | 11 | hg ci -m adda |
|
12 | 12 | hg manifest |
|
13 | 13 | cd .. |
|
14 | 14 | |
|
15 | 15 | echo '% test case collision on rename (issue 750)' |
|
16 | 16 | hg init repo2 |
|
17 | 17 | cd repo2 |
|
18 | 18 | echo a > a |
|
19 | 19 | hg --debug ci -Am adda |
|
20 | 20 | hg mv a A |
|
21 | 21 | # 'a' used to be removed under windows |
|
22 | 22 | test -f a || echo 'a is missing' |
|
23 | 23 | hg st |
|
24 | 24 | cd .. |
|
25 | 25 | |
|
26 | 26 | echo '% test case collision between revisions (issue 912)' |
|
27 | 27 | hg init repo3 |
|
28 | 28 | cd repo3 |
|
29 | 29 | echo a > a |
|
30 | 30 | hg ci -Am adda |
|
31 | 31 | hg rm a |
|
32 | 32 | hg ci -Am removea |
|
33 | 33 | echo A > A |
|
34 | # on linux hfs keeps the old case stored, force it | |
|
35 | mv a aa | |
|
36 | mv aa A | |
|
34 | 37 | hg ci -Am addA |
|
35 | 38 | # Used to fail under case insensitive fs |
|
36 | 39 | hg up -C 0 |
|
37 | 40 | hg up -C |
|
38 | 41 | cd .. |
|
39 | 42 | |
|
40 | 43 | |
|
41 | 44 |
General Comments 0
You need to be logged in to leave comments.
Login now