equal
deleted
inserted
replaced
2 |
2 |
3 "$TESTDIR/hghave" execbit || exit 80 |
3 "$TESTDIR/hghave" execbit || exit 80 |
4 |
4 |
5 hg init |
5 hg init |
6 echo a > a |
6 echo a > a |
7 hg ci -d'0 0' -Am'not executable' |
7 hg ci -Am'not executable' |
8 |
8 |
9 chmod +x a |
9 chmod +x a |
10 hg ci -d'1 0' -m'executable' |
10 hg ci -m'executable' |
11 hg id |
11 hg id |
|
12 |
|
13 echo '% make sure we notice the change of mode if the cached size == -1' |
|
14 hg rm a |
|
15 hg revert -r 0 a |
|
16 hg debugstate |
|
17 hg st |
12 |
18 |
13 hg up 0 |
19 hg up 0 |
14 hg id |
20 hg id |
15 test -x a && echo executable -- eek || echo not executable -- whew |
21 test -x a && echo executable -- eek || echo not executable -- whew |