Show More
@@ -72,15 +72,15 b' add more upstream files which we will in' | |||
|
72 | 72 | $ echo 'widest v4' > widest/f |
|
73 | 73 | $ hg commit -m 'update widest v4' |
|
74 | 74 | |
|
75 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
75 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
76 | 7: update widest v4 | |
|
77 | 6: add outside2 | |
|
78 | 5: update inside | |
|
79 | 4: update widest v3 | |
|
80 | 3: add wider, update widest | |
|
81 | 2: add outside | |
|
82 | 1: add widest | |
|
83 | 0: add inside | |
|
84 | 84 | |
|
85 | 85 |
$ |
|
86 | 86 | |
@@ -124,15 +124,15 b' Pull down the newly added upstream revis' | |||
|
124 | 124 | $ cat inside/f |
|
125 | 125 | inside v2 |
|
126 | 126 | |
|
127 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
128 |
|
|
|
129 |
|
|
|
130 |
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
127 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
128 | 7: update widest v4 | |
|
129 | 6: add outside2 | |
|
130 | 5: update inside | |
|
131 | 4: update widest v3 | |
|
132 | 3: add wider, update widest | |
|
133 | 2: add outside | |
|
134 | 1: add widest | |
|
135 | 0: add inside | |
|
136 | 136 | |
|
137 | 137 | Check that widening with a newline fails |
|
138 | 138 | |
@@ -175,15 +175,15 b' widen the narrow spec to include the wid' | |||
|
175 | 175 | $ cat widest/f |
|
176 | 176 | widest v4 |
|
177 | 177 | |
|
178 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
179 |
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
|
178 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
179 | 7: update widest v4 | |
|
180 | 6: add outside2 | |
|
181 | 5: update inside | |
|
182 | 4: update widest v3 | |
|
183 | 3: add wider, update widest | |
|
184 | 2: add outside | |
|
185 | 1: add widest | |
|
186 | 0: add inside | |
|
187 | 187 | |
|
188 | 188 | separate suite of tests: files from 0-10 modified in changes 0-10. This allows |
|
189 | 189 | more obvious precise tests tickling particular corner cases. |
@@ -198,18 +198,18 b' more obvious precise tests tickling part' | |||
|
198 | 198 | > hg add d$x/f |
|
199 | 199 | > hg commit -m "add d$x/f" |
|
200 | 200 | > done |
|
201 |
$ hg log -T "{ |
|
|
202 |
|
|
|
203 |
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
|
|
|
207 |
|
|
|
208 |
|
|
|
209 |
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
|
|
|
201 | $ hg log -T "{rev}: {desc}\n" | |
|
202 | 10: add d10/f | |
|
203 | 9: add d9/f | |
|
204 | 8: add d8/f | |
|
205 | 7: add d7/f | |
|
206 | 6: add d6/f | |
|
207 | 5: add d5/f | |
|
208 | 4: add d4/f | |
|
209 | 3: add d3/f | |
|
210 | 2: add d2/f | |
|
211 | 1: add d1/f | |
|
212 | 0: add d0/f | |
|
213 | 213 | |
|
214 | 214 | make narrow clone with every third node. |
|
215 | 215 | |
@@ -236,18 +236,18 b' make narrow clone with every third node.' | |||
|
236 | 236 | crosschecking files in changesets and manifests |
|
237 | 237 | checking files |
|
238 | 238 | 4 files, 11 changesets, 4 total revisions |
|
239 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
240 |
|
|
|
241 |
|
|
|
242 |
|
|
|
243 |
|
|
|
244 |
|
|
|
245 |
|
|
|
246 |
|
|
|
247 |
|
|
|
248 |
|
|
|
249 |
|
|
|
250 |
|
|
|
239 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
240 | 10: add d10/f | |
|
241 | 9: add d9/f | |
|
242 | 8: add d8/f | |
|
243 | 7: add d7/f | |
|
244 | 6: add d6/f | |
|
245 | 5: add d5/f | |
|
246 | 4: add d4/f | |
|
247 | 3: add d3/f | |
|
248 | 2: add d2/f | |
|
249 | 1: add d1/f | |
|
250 | 0: add d0/f | |
|
251 | 251 | $ hg tracked --addinclude d1 |
|
252 | 252 | comparing with ssh://user@dummy/upstream |
|
253 | 253 | searching for changes |
@@ -263,18 +263,18 b' make narrow clone with every third node.' | |||
|
263 | 263 | I path:d3 |
|
264 | 264 | I path:d6 |
|
265 | 265 | I path:d9 |
|
266 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
267 |
|
|
|
268 |
|
|
|
269 |
|
|
|
270 |
|
|
|
271 |
|
|
|
272 |
|
|
|
273 |
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
|
|
|
277 |
|
|
|
266 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
267 | 10: add d10/f | |
|
268 | 9: add d9/f | |
|
269 | 8: add d8/f | |
|
270 | 7: add d7/f | |
|
271 | 6: add d6/f | |
|
272 | 5: add d5/f | |
|
273 | 4: add d4/f | |
|
274 | 3: add d3/f | |
|
275 | 2: add d2/f | |
|
276 | 1: add d1/f | |
|
277 | 0: add d0/f | |
|
278 | 278 | |
|
279 | 279 | Verify shouldn't claim the repo is corrupt after a widen. |
|
280 | 280 | |
@@ -291,10 +291,10 b' Widening preserves parent of local commi' | |||
|
291 | 291 | $ cd .. |
|
292 | 292 | $ hg clone -q --narrow ssh://user@dummy/upstream narrow3 --include d2 -r 2 |
|
293 | 293 | $ cd narrow3 |
|
294 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
295 |
|
|
|
296 |
|
|
|
297 |
|
|
|
294 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
295 | 2: add d2/f | |
|
296 | 1: add d1/f | |
|
297 | 0: add d0/f | |
|
298 | 298 | $ hg pull -q -r 3 |
|
299 | 299 | $ hg co -q tip |
|
300 | 300 | $ hg pull -q -r 4 |
@@ -76,15 +76,15 b' add more upstream files which we will in' | |||
|
76 | 76 | $ echo 'widest v4' > widest/f |
|
77 | 77 | $ hg commit -m 'update widest v4' |
|
78 | 78 | |
|
79 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
79 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
80 | 7: update widest v4 | |
|
81 | 6: add outside2 | |
|
82 | 5: update inside | |
|
83 | 4: update widest v3 | |
|
84 | 3: add wider, update widest | |
|
85 | 2: add outside | |
|
86 | 1: add widest | |
|
87 | 0: add inside | |
|
88 | 88 | |
|
89 | 89 |
$ |
|
90 | 90 | |
@@ -129,13 +129,13 b' Pull down the newly added upstream revis' | |||
|
129 | 129 | $ cat inside/f |
|
130 | 130 | inside v2 |
|
131 | 131 | |
|
132 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
133 |
... |
|
|
134 |
|
|
|
135 |
... |
|
|
136 |
|
|
|
137 |
... |
|
|
138 |
|
|
|
132 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
133 | ...5: update widest v4 | |
|
134 | 4: update inside | |
|
135 | ...3: update widest v3 | |
|
136 | 2: add wider, update widest | |
|
137 | ...1: add outside | |
|
138 | 0: add inside | |
|
139 | 139 | |
|
140 | 140 | Check that widening with a newline fails |
|
141 | 141 | |
@@ -179,15 +179,15 b' widen the narrow spec to include the wid' | |||
|
179 | 179 | $ cat widest/f |
|
180 | 180 | widest v4 |
|
181 | 181 | |
|
182 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
183 |
|
|
|
184 |
... |
|
|
185 |
|
|
|
186 |
|
|
|
187 |
|
|
|
188 |
... |
|
|
189 |
|
|
|
190 |
|
|
|
182 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
183 | 7: update widest v4 | |
|
184 | ...6: add outside2 | |
|
185 | 5: update inside | |
|
186 | 4: update widest v3 | |
|
187 | 3: add wider, update widest | |
|
188 | ...2: add outside | |
|
189 | 1: add widest | |
|
190 | 0: add inside | |
|
191 | 191 | |
|
192 | 192 | separate suite of tests: files from 0-10 modified in changes 0-10. This allows |
|
193 | 193 | more obvious precise tests tickling particular corner cases. |
@@ -206,18 +206,18 b' more obvious precise tests tickling part' | |||
|
206 | 206 | > hg add d$x/f |
|
207 | 207 | > hg commit -m "add d$x/f" |
|
208 | 208 | > done |
|
209 |
$ hg log -T "{ |
|
|
210 |
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
|
209 | $ hg log -T "{rev}: {desc}\n" | |
|
210 | 10: add d10/f | |
|
211 | 9: add d9/f | |
|
212 | 8: add d8/f | |
|
213 | 7: add d7/f | |
|
214 | 6: add d6/f | |
|
215 | 5: add d5/f | |
|
216 | 4: add d4/f | |
|
217 | 3: add d3/f | |
|
218 | 2: add d2/f | |
|
219 | 1: add d1/f | |
|
220 | 0: add d0/f | |
|
221 | 221 | |
|
222 | 222 | make narrow clone with every third node. |
|
223 | 223 | |
@@ -244,15 +244,15 b' make narrow clone with every third node.' | |||
|
244 | 244 | crosschecking files in changesets and manifests |
|
245 | 245 | checking files |
|
246 | 246 | 4 files, 8 changesets, 4 total revisions |
|
247 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
248 |
... |
|
|
249 |
|
|
|
250 |
... |
|
|
251 |
|
|
|
252 |
... |
|
|
253 |
|
|
|
254 |
... |
|
|
255 |
|
|
|
247 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
248 | ...7: add d10/f | |
|
249 | 6: add d9/f | |
|
250 | ...5: add d8/f | |
|
251 | 4: add d6/f | |
|
252 | ...3: add d5/f | |
|
253 | 2: add d3/f | |
|
254 | ...1: add d2/f | |
|
255 | 0: add d0/f | |
|
256 | 256 | $ hg tracked --addinclude d1 |
|
257 | 257 | comparing with ssh://user@dummy/upstream |
|
258 | 258 | searching for changes |
@@ -269,16 +269,16 b' make narrow clone with every third node.' | |||
|
269 | 269 | I path:d3 |
|
270 | 270 | I path:d6 |
|
271 | 271 | I path:d9 |
|
272 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
273 |
... |
|
|
274 |
|
|
|
275 |
... |
|
|
276 |
|
|
|
277 |
... |
|
|
278 |
|
|
|
279 |
... |
|
|
280 |
|
|
|
281 |
|
|
|
272 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
273 | ...8: add d10/f | |
|
274 | 7: add d9/f | |
|
275 | ...6: add d8/f | |
|
276 | 5: add d6/f | |
|
277 | ...4: add d5/f | |
|
278 | 3: add d3/f | |
|
279 | ...2: add d2/f | |
|
280 | 1: add d1/f | |
|
281 | 0: add d0/f | |
|
282 | 282 | |
|
283 | 283 | Verify shouldn't claim the repo is corrupt after a widen. |
|
284 | 284 | |
@@ -295,9 +295,9 b' Widening preserves parent of local commi' | |||
|
295 | 295 | $ cd .. |
|
296 | 296 | $ hg clone -q --narrow ssh://user@dummy/upstream narrow3 --include d2 -r 2 |
|
297 | 297 | $ cd narrow3 |
|
298 |
$ hg log -T "{if(ellipsis, '...')}{ |
|
|
299 |
|
|
|
300 |
... |
|
|
298 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" | |
|
299 | 1: add d2/f | |
|
300 | ...0: add d1/f | |
|
301 | 301 | $ hg pull -q -r 3 |
|
302 | 302 | $ hg co -q tip |
|
303 | 303 | $ hg pull -q -r 4 |
@@ -22,18 +22,18 b'' | |||
|
22 | 22 | > hg add d$x/f |
|
23 | 23 | > hg commit -m "add d$x/f" |
|
24 | 24 | > done |
|
25 |
$ hg log -T "{ |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
25 | $ hg log -T "{rev}: {desc}\n" | |
|
26 | 10: add d10/f | |
|
27 | 9: add d9/f | |
|
28 | 8: add d8/f | |
|
29 | 7: add d7/f | |
|
30 | 6: add d6/f | |
|
31 | 5: add d5/f | |
|
32 | 4: add d4/f | |
|
33 | 3: add d3/f | |
|
34 | 2: add d2/f | |
|
35 | 1: add d1/f | |
|
36 | 0: add d0/f | |
|
37 | 37 | $ cd .. |
|
38 | 38 | |
|
39 | 39 | Error if '.' or '..' are in the directory to track. |
@@ -111,15 +111,15 b' Check that nothing was removed by the fa' | |||
|
111 | 111 | d6/f |
|
112 | 112 | $ hg verify -q |
|
113 | 113 | Force deletion of local changes |
|
114 |
$ hg log -T "{ |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
114 | $ hg log -T "{rev}: {desc} {outsidenarrow}\n" | |
|
115 | 8: local change to d3 | |
|
116 | 6: local change to d0 | |
|
117 | 5: add d10/f outsidenarrow | |
|
118 | 4: add d6/f | |
|
119 | 3: add d5/f outsidenarrow | |
|
120 | 2: add d3/f | |
|
121 | 1: add d2/f outsidenarrow | |
|
122 | 0: add d0/f | |
|
123 | 123 | $ hg tracked --removeinclude d0 --force-delete-local-changes |
|
124 | 124 | comparing with ssh://user@dummy/master |
|
125 | 125 | searching for changes |
@@ -133,14 +133,14 b' Force deletion of local changes' | |||
|
133 | 133 | deleting data/d0/f/4374b5650fc5ae54ac857c0f0381971fdde376f7 (reposimplestore !) |
|
134 | 134 | deleting data/d0/f/index (reposimplestore !) |
|
135 | 135 | |
|
136 |
$ hg log -T "{ |
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
136 | $ hg log -T "{rev}: {desc} {outsidenarrow}\n" | |
|
137 | 7: local change to d3 | |
|
138 | 5: add d10/f outsidenarrow | |
|
139 | 4: add d6/f | |
|
140 | 3: add d5/f outsidenarrow | |
|
141 | 2: add d3/f | |
|
142 | 1: add d2/f outsidenarrow | |
|
143 | 0: add d0/f outsidenarrow | |
|
144 | 144 | Can restore stripped local changes after widening |
|
145 | 145 | $ hg tracked --addinclude d0 -q |
|
146 | 146 | $ hg unbundle .hg/strip-backup/*-narrow.hg -q |
General Comments 0
You need to be logged in to leave comments.
Login now