equal
deleted
inserted
replaced
21 > hg commit -m "add $d/foo" |
21 > hg commit -m "add $d/foo" |
22 > echo $d/bar > $d/bar |
22 > echo $d/bar > $d/bar |
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 | |
31 o 12 951b8a83924e dir2/dirB/bar |
44 o 12 951b8a83924e dir2/dirB/bar |
32 | |
45 | |
147 dir1/dirA/foo |
160 dir1/dirA/foo |
148 dir1/foo |
161 dir1/foo |
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 | |
159 o 7 951b8a83924e... dir2/dirB/bar |
176 o 7 951b8a83924e... dir2/dirB/bar |
160 | |
177 | |