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