Show More
@@ -23,8 +23,21 b' initialize nested directories to validat' | |||
|
23 | 23 | > hg add $d/bar |
|
24 | 24 | > hg commit -m "add $d/bar" |
|
25 | 25 | > done |
|
26 | #if execbit | |
|
26 | 27 | $ chmod +x dir1/dirA/foo |
|
27 | 28 | $ hg commit -m "make dir1/dirA/foo executable" |
|
29 | #else | |
|
30 | $ hg import --bypass - <<EOF | |
|
31 | > # HG changeset patch | |
|
32 | > make dir1/dirA/foo executable | |
|
33 | > | |
|
34 | > diff --git a/dir1/dirA/foo b/dir1/dirA/foo | |
|
35 | > old mode 100644 | |
|
36 | > new mode 100755 | |
|
37 | > EOF | |
|
38 | applying patch from stdin | |
|
39 | $ hg update -qr tip | |
|
40 | #endif | |
|
28 | 41 | $ hg log -G -T '{rev} {node|short} {files}\n' |
|
29 | 42 | @ 13 c87ca422d521 dir1/dirA/foo |
|
30 | 43 | | |
@@ -149,10 +162,14 b' widen the narrow checkout' | |||
|
149 | 162 | dir2 |
|
150 | 163 | dir2/bar |
|
151 | 164 | dir2/foo |
|
165 | ||
|
166 | #if execbit | |
|
152 | 167 | $ test -x dir1/dirA/foo && echo executable |
|
153 | 168 | executable |
|
154 | 169 | $ test -x dir1/dirA/bar || echo not executable |
|
155 | 170 | not executable |
|
171 | #endif | |
|
172 | ||
|
156 | 173 | $ hg log -G -T '{rev} {node|short}{if(ellipsis, "...")} {files}\n' |
|
157 | 174 | @ 8 c87ca422d521 dir1/dirA/foo |
|
158 | 175 | | |
@@ -47,7 +47,7 b' Can update to revision with changes insi' | |||
|
47 | 47 | $ hg update -q 'desc("modify inside")' |
|
48 | 48 | $ find * |
|
49 | 49 | inside |
|
50 |
inside/f1 |
|
|
50 | inside/f1 | |
|
51 | 51 | $ cat inside/f1 |
|
52 | 52 | modified |
|
53 | 53 | |
@@ -56,7 +56,7 b' Can update to revision with changes outs' | |||
|
56 | 56 | $ hg update -q 'desc("modify outside")' |
|
57 | 57 | $ find * |
|
58 | 58 | inside |
|
59 |
inside/f1 |
|
|
59 | inside/f1 | |
|
60 | 60 | $ cat inside/f1 |
|
61 | 61 | modified |
|
62 | 62 |
General Comments 0
You need to be logged in to leave comments.
Login now