##// END OF EJS Templates
test: wider matching in 'test-clone-r.t'...
Pierre-Yves David -
r26926:b87b2524 default
parent child Browse files
Show More
@@ -1,243 +1,243 b''
1 $ hg init test
1 $ hg init test
2 $ cd test
2 $ cd test
3
3
4 $ echo 0 >> afile
4 $ echo 0 >> afile
5 $ hg add afile
5 $ hg add afile
6 $ hg commit -m "0.0"
6 $ hg commit -m "0.0"
7
7
8 $ echo 1 >> afile
8 $ echo 1 >> afile
9 $ hg commit -m "0.1"
9 $ hg commit -m "0.1"
10
10
11 $ echo 2 >> afile
11 $ echo 2 >> afile
12 $ hg commit -m "0.2"
12 $ hg commit -m "0.2"
13
13
14 $ echo 3 >> afile
14 $ echo 3 >> afile
15 $ hg commit -m "0.3"
15 $ hg commit -m "0.3"
16
16
17 $ hg update -C 0
17 $ hg update -C 0
18 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
18 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
19
19
20 $ echo 1 >> afile
20 $ echo 1 >> afile
21 $ hg commit -m "1.1"
21 $ hg commit -m "1.1"
22 created new head
22 created new head
23
23
24 $ echo 2 >> afile
24 $ echo 2 >> afile
25 $ hg commit -m "1.2"
25 $ hg commit -m "1.2"
26
26
27 $ echo a line > fred
27 $ echo a line > fred
28 $ echo 3 >> afile
28 $ echo 3 >> afile
29 $ hg add fred
29 $ hg add fred
30 $ hg commit -m "1.3"
30 $ hg commit -m "1.3"
31 $ hg mv afile adifferentfile
31 $ hg mv afile adifferentfile
32 $ hg commit -m "1.3m"
32 $ hg commit -m "1.3m"
33
33
34 $ hg update -C 3
34 $ hg update -C 3
35 1 files updated, 0 files merged, 2 files removed, 0 files unresolved
35 1 files updated, 0 files merged, 2 files removed, 0 files unresolved
36
36
37 $ hg mv afile anotherfile
37 $ hg mv afile anotherfile
38 $ hg commit -m "0.3m"
38 $ hg commit -m "0.3m"
39
39
40 $ hg debugindex -f 1 afile
40 $ hg debugindex -f 1 afile
41 rev flag offset length size ..... link p1 p2 nodeid (re)
41 rev flag offset length size ..... link p1 p2 nodeid (re)
42 0 0000 0 3 2 ..... 0 -1 -1 362fef284ce2 (re)
42 0 0000 0 3 2 ..... 0 -1 -1 362fef284ce2 (re)
43 1 0000 3 5 4 ..... 1 0 -1 125144f7e028 (re)
43 1 0000 3 5 4 ..... 1 0 -1 125144f7e028 (re)
44 2 0000 8 7 6 ..... 2 1 -1 4c982badb186 (re)
44 2 0000 8 7 6 ..... 2 1 -1 4c982badb186 (re)
45 3 0000 15 9 8 ..... 3 2 -1 19b1fc555737 (re)
45 3 0000 15 9 8 ..... 3 2 -1 19b1fc555737 (re)
46
46
47 $ hg debugindex adifferentfile
47 $ hg debugindex adifferentfile
48 rev offset length ..... linkrev nodeid p1 p2 (re)
48 rev offset length ..... linkrev nodeid p1 p2 (re)
49 0 0 75 ..... 7 2565f3199a74 000000000000 000000000000 (re)
49 0 0 75 ..... 7 2565f3199a74 000000000000 000000000000 (re)
50
50
51 $ hg debugindex anotherfile
51 $ hg debugindex anotherfile
52 rev offset length ..... linkrev nodeid p1 p2 (re)
52 rev offset length ..... linkrev nodeid p1 p2 (re)
53 0 0 75 ..... 8 2565f3199a74 000000000000 000000000000 (re)
53 0 0 75 ..... 8 2565f3199a74 000000000000 000000000000 (re)
54
54
55 $ hg debugindex fred
55 $ hg debugindex fred
56 rev offset length ..... linkrev nodeid p1 p2 (re)
56 rev offset length ..... linkrev nodeid p1 p2 (re)
57 0 0 8 ..... 6 12ab3bcc5ea4 000000000000 000000000000 (re)
57 0 0 8 ..... 6 12ab3bcc5ea4 000000000000 000000000000 (re)
58
58
59 $ hg debugindex --manifest
59 $ hg debugindex --manifest
60 rev offset length ..... linkrev nodeid p1 p2 (re)
60 rev offset length ..... linkrev nodeid p1 p2 (re)
61 0 0 48 ..... 0 43eadb1d2d06 000000000000 000000000000 (re)
61 0 0 48 ..... 0 43eadb1d2d06 000000000000 000000000000 (re)
62 1 48 48 ..... 1 8b89697eba2c 43eadb1d2d06 000000000000 (re)
62 1 48 48 ..... 1 8b89697eba2c 43eadb1d2d06 000000000000 (re)
63 2 96 48 ..... 2 626a32663c2f 8b89697eba2c 000000000000 (re)
63 2 96 48 ..... 2 626a32663c2f 8b89697eba2c 000000000000 (re)
64 3 144 48 ..... 3 f54c32f13478 626a32663c2f 000000000000 (re)
64 3 144 48 ..... 3 f54c32f13478 626a32663c2f 000000000000 (re)
65 4 192 .. ..... 6 de68e904d169 626a32663c2f 000000000000 (re)
65 4 192 .. ..... 6 de68e904d169 626a32663c2f 000000000000 (re)
66 5 2.. 68 ..... 7 09bb521d218d de68e904d169 000000000000 (re)
66 5 2.. .. ..... 7 09bb521d218d de68e904d169 000000000000 (re)
67 6 3.. 54 ..... 8 1fde233dfb0f f54c32f13478 000000000000 (re)
67 6 3.. 54 ..... 8 1fde233dfb0f f54c32f13478 000000000000 (re)
68
68
69 $ hg verify
69 $ hg verify
70 checking changesets
70 checking changesets
71 checking manifests
71 checking manifests
72 crosschecking files in changesets and manifests
72 crosschecking files in changesets and manifests
73 checking files
73 checking files
74 4 files, 9 changesets, 7 total revisions
74 4 files, 9 changesets, 7 total revisions
75
75
76 $ cd ..
76 $ cd ..
77
77
78 $ for i in 0 1 2 3 4 5 6 7 8; do
78 $ for i in 0 1 2 3 4 5 6 7 8; do
79 > echo
79 > echo
80 > echo ---- hg clone -r "$i" test test-"$i"
80 > echo ---- hg clone -r "$i" test test-"$i"
81 > hg clone -r "$i" test test-"$i"
81 > hg clone -r "$i" test test-"$i"
82 > cd test-"$i"
82 > cd test-"$i"
83 > hg verify
83 > hg verify
84 > cd ..
84 > cd ..
85 > done
85 > done
86
86
87 ---- hg clone -r 0 test test-0
87 ---- hg clone -r 0 test test-0
88 adding changesets
88 adding changesets
89 adding manifests
89 adding manifests
90 adding file changes
90 adding file changes
91 added 1 changesets with 1 changes to 1 files
91 added 1 changesets with 1 changes to 1 files
92 updating to branch default
92 updating to branch default
93 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
93 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
94 checking changesets
94 checking changesets
95 checking manifests
95 checking manifests
96 crosschecking files in changesets and manifests
96 crosschecking files in changesets and manifests
97 checking files
97 checking files
98 1 files, 1 changesets, 1 total revisions
98 1 files, 1 changesets, 1 total revisions
99
99
100 ---- hg clone -r 1 test test-1
100 ---- hg clone -r 1 test test-1
101 adding changesets
101 adding changesets
102 adding manifests
102 adding manifests
103 adding file changes
103 adding file changes
104 added 2 changesets with 2 changes to 1 files
104 added 2 changesets with 2 changes to 1 files
105 updating to branch default
105 updating to branch default
106 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
106 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
107 checking changesets
107 checking changesets
108 checking manifests
108 checking manifests
109 crosschecking files in changesets and manifests
109 crosschecking files in changesets and manifests
110 checking files
110 checking files
111 1 files, 2 changesets, 2 total revisions
111 1 files, 2 changesets, 2 total revisions
112
112
113 ---- hg clone -r 2 test test-2
113 ---- hg clone -r 2 test test-2
114 adding changesets
114 adding changesets
115 adding manifests
115 adding manifests
116 adding file changes
116 adding file changes
117 added 3 changesets with 3 changes to 1 files
117 added 3 changesets with 3 changes to 1 files
118 updating to branch default
118 updating to branch default
119 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
119 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
120 checking changesets
120 checking changesets
121 checking manifests
121 checking manifests
122 crosschecking files in changesets and manifests
122 crosschecking files in changesets and manifests
123 checking files
123 checking files
124 1 files, 3 changesets, 3 total revisions
124 1 files, 3 changesets, 3 total revisions
125
125
126 ---- hg clone -r 3 test test-3
126 ---- hg clone -r 3 test test-3
127 adding changesets
127 adding changesets
128 adding manifests
128 adding manifests
129 adding file changes
129 adding file changes
130 added 4 changesets with 4 changes to 1 files
130 added 4 changesets with 4 changes to 1 files
131 updating to branch default
131 updating to branch default
132 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
132 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
133 checking changesets
133 checking changesets
134 checking manifests
134 checking manifests
135 crosschecking files in changesets and manifests
135 crosschecking files in changesets and manifests
136 checking files
136 checking files
137 1 files, 4 changesets, 4 total revisions
137 1 files, 4 changesets, 4 total revisions
138
138
139 ---- hg clone -r 4 test test-4
139 ---- hg clone -r 4 test test-4
140 adding changesets
140 adding changesets
141 adding manifests
141 adding manifests
142 adding file changes
142 adding file changes
143 added 2 changesets with 2 changes to 1 files
143 added 2 changesets with 2 changes to 1 files
144 updating to branch default
144 updating to branch default
145 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
145 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
146 checking changesets
146 checking changesets
147 checking manifests
147 checking manifests
148 crosschecking files in changesets and manifests
148 crosschecking files in changesets and manifests
149 checking files
149 checking files
150 1 files, 2 changesets, 2 total revisions
150 1 files, 2 changesets, 2 total revisions
151
151
152 ---- hg clone -r 5 test test-5
152 ---- hg clone -r 5 test test-5
153 adding changesets
153 adding changesets
154 adding manifests
154 adding manifests
155 adding file changes
155 adding file changes
156 added 3 changesets with 3 changes to 1 files
156 added 3 changesets with 3 changes to 1 files
157 updating to branch default
157 updating to branch default
158 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
158 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
159 checking changesets
159 checking changesets
160 checking manifests
160 checking manifests
161 crosschecking files in changesets and manifests
161 crosschecking files in changesets and manifests
162 checking files
162 checking files
163 1 files, 3 changesets, 3 total revisions
163 1 files, 3 changesets, 3 total revisions
164
164
165 ---- hg clone -r 6 test test-6
165 ---- hg clone -r 6 test test-6
166 adding changesets
166 adding changesets
167 adding manifests
167 adding manifests
168 adding file changes
168 adding file changes
169 added 4 changesets with 5 changes to 2 files
169 added 4 changesets with 5 changes to 2 files
170 updating to branch default
170 updating to branch default
171 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
171 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
172 checking changesets
172 checking changesets
173 checking manifests
173 checking manifests
174 crosschecking files in changesets and manifests
174 crosschecking files in changesets and manifests
175 checking files
175 checking files
176 2 files, 4 changesets, 5 total revisions
176 2 files, 4 changesets, 5 total revisions
177
177
178 ---- hg clone -r 7 test test-7
178 ---- hg clone -r 7 test test-7
179 adding changesets
179 adding changesets
180 adding manifests
180 adding manifests
181 adding file changes
181 adding file changes
182 added 5 changesets with 6 changes to 3 files
182 added 5 changesets with 6 changes to 3 files
183 updating to branch default
183 updating to branch default
184 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
184 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
185 checking changesets
185 checking changesets
186 checking manifests
186 checking manifests
187 crosschecking files in changesets and manifests
187 crosschecking files in changesets and manifests
188 checking files
188 checking files
189 3 files, 5 changesets, 6 total revisions
189 3 files, 5 changesets, 6 total revisions
190
190
191 ---- hg clone -r 8 test test-8
191 ---- hg clone -r 8 test test-8
192 adding changesets
192 adding changesets
193 adding manifests
193 adding manifests
194 adding file changes
194 adding file changes
195 added 5 changesets with 5 changes to 2 files
195 added 5 changesets with 5 changes to 2 files
196 updating to branch default
196 updating to branch default
197 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
197 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
198 checking changesets
198 checking changesets
199 checking manifests
199 checking manifests
200 crosschecking files in changesets and manifests
200 crosschecking files in changesets and manifests
201 checking files
201 checking files
202 2 files, 5 changesets, 5 total revisions
202 2 files, 5 changesets, 5 total revisions
203
203
204 $ cd test-8
204 $ cd test-8
205 $ hg pull ../test-7
205 $ hg pull ../test-7
206 pulling from ../test-7
206 pulling from ../test-7
207 searching for changes
207 searching for changes
208 adding changesets
208 adding changesets
209 adding manifests
209 adding manifests
210 adding file changes
210 adding file changes
211 added 4 changesets with 2 changes to 3 files (+1 heads)
211 added 4 changesets with 2 changes to 3 files (+1 heads)
212 (run 'hg heads' to see heads, 'hg merge' to merge)
212 (run 'hg heads' to see heads, 'hg merge' to merge)
213 $ hg verify
213 $ hg verify
214 checking changesets
214 checking changesets
215 checking manifests
215 checking manifests
216 crosschecking files in changesets and manifests
216 crosschecking files in changesets and manifests
217 checking files
217 checking files
218 4 files, 9 changesets, 7 total revisions
218 4 files, 9 changesets, 7 total revisions
219 $ cd ..
219 $ cd ..
220
220
221 $ hg clone test test-9
221 $ hg clone test test-9
222 updating to branch default
222 updating to branch default
223 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
223 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
224 $ cd test-9
224 $ cd test-9
225 $ hg branch foobar
225 $ hg branch foobar
226 marked working directory as branch foobar
226 marked working directory as branch foobar
227 (branches are permanent and global, did you want a bookmark?)
227 (branches are permanent and global, did you want a bookmark?)
228 $ echo file2 >> file2
228 $ echo file2 >> file2
229 $ hg add file2
229 $ hg add file2
230 $ hg commit -m "changeset9"
230 $ hg commit -m "changeset9"
231 $ echo file3 >> file3
231 $ echo file3 >> file3
232 $ hg add file3
232 $ hg add file3
233 $ hg commit -m "changeset10"
233 $ hg commit -m "changeset10"
234 $ cd ..
234 $ cd ..
235 $ hg clone -r 9 -u foobar test-9 test-10
235 $ hg clone -r 9 -u foobar test-9 test-10
236 adding changesets
236 adding changesets
237 adding manifests
237 adding manifests
238 adding file changes
238 adding file changes
239 added 6 changesets with 6 changes to 3 files
239 added 6 changesets with 6 changes to 3 files
240 updating to branch foobar
240 updating to branch foobar
241 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
241 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
242
242
243
243
General Comments 0
You need to be logged in to leave comments. Login now