##// END OF EJS Templates
debugbundle: also display if a part is mandatory or advisory...
Boris Feld -
r37919:d618558e stable
parent child Browse files
Show More
@@ -352,7 +352,8 b' def _debugbundle2(ui, gen, all=None, **o'
352 for part in gen.iterparts():
352 for part in gen.iterparts():
353 if parttypes and part.type not in parttypes:
353 if parttypes and part.type not in parttypes:
354 continue
354 continue
355 ui.write('%s -- %s\n' % (part.type, _quasirepr(part.params)))
355 msg = '%s -- %s (mandatory: %r)\n'
356 ui.write((msg % (part.type, _quasirepr(part.params), part.mandatory)))
356 if part.type == 'changegroup':
357 if part.type == 'changegroup':
357 version = part.params.get('version', '01')
358 version = part.params.get('version', '01')
358 cg = changegroup.getunbundler(version, part, 'UN')
359 cg = changegroup.getunbundler(version, part, 'UN')
@@ -38,12 +38,12 b' Phases are restored when unbundling'
38 3 changesets found
38 3 changesets found
39 $ hg debugbundle bundle
39 $ hg debugbundle bundle
40 Stream params: {Compression: BZ}
40 Stream params: {Compression: BZ}
41 changegroup -- {nbchanges: 3, targetphase: 2, version: 02}
41 changegroup -- {nbchanges: 3, targetphase: 2, version: 02} (mandatory: True)
42 26805aba1e600a82e93661149f2313866a221a7b
42 26805aba1e600a82e93661149f2313866a221a7b
43 f585351a92f85104bff7c284233c338b10eb1df7
43 f585351a92f85104bff7c284233c338b10eb1df7
44 9bc730a19041f9ec7cb33c626e811aa233efb18c
44 9bc730a19041f9ec7cb33c626e811aa233efb18c
45 cache:rev-branch-cache -- {}
45 cache:rev-branch-cache -- {} (mandatory: True)
46 phase-heads -- {}
46 phase-heads -- {} (mandatory: True)
47 26805aba1e600a82e93661149f2313866a221a7b draft
47 26805aba1e600a82e93661149f2313866a221a7b draft
48 $ hg strip --no-backup C
48 $ hg strip --no-backup C
49 $ hg unbundle -q bundle
49 $ hg unbundle -q bundle
@@ -228,14 +228,14 b' Restore bundle of entire repo'
228 5 changesets found
228 5 changesets found
229 $ hg debugbundle bundle
229 $ hg debugbundle bundle
230 Stream params: {Compression: BZ}
230 Stream params: {Compression: BZ}
231 changegroup -- {nbchanges: 5, targetphase: 2, version: 02}
231 changegroup -- {nbchanges: 5, targetphase: 2, version: 02} (mandatory: True)
232 426bada5c67598ca65036d57d9e4b64b0c1ce7a0
232 426bada5c67598ca65036d57d9e4b64b0c1ce7a0
233 112478962961147124edd43549aedd1a335e44bf
233 112478962961147124edd43549aedd1a335e44bf
234 dc0947a82db884575bb76ea10ac97b08536bfa03
234 dc0947a82db884575bb76ea10ac97b08536bfa03
235 4e4f9194f9f181c57f62e823e8bdfa46ab9e4ff4
235 4e4f9194f9f181c57f62e823e8bdfa46ab9e4ff4
236 03ca77807e919db8807c3749086dc36fb478cac0
236 03ca77807e919db8807c3749086dc36fb478cac0
237 cache:rev-branch-cache -- {}
237 cache:rev-branch-cache -- {} (mandatory: True)
238 phase-heads -- {}
238 phase-heads -- {} (mandatory: True)
239 dc0947a82db884575bb76ea10ac97b08536bfa03 public
239 dc0947a82db884575bb76ea10ac97b08536bfa03 public
240 03ca77807e919db8807c3749086dc36fb478cac0 draft
240 03ca77807e919db8807c3749086dc36fb478cac0 draft
241 $ hg strip --no-backup A
241 $ hg strip --no-backup A
@@ -257,23 +257,23 b' Restore bundle of entire repo'
257 2 changesets found
257 2 changesets found
258 $ hg debugbundle bundle
258 $ hg debugbundle bundle
259 Stream params: {Compression: BZ}
259 Stream params: {Compression: BZ}
260 changegroup -- {nbchanges: 2, targetphase: 2, version: 02}
260 changegroup -- {nbchanges: 2, targetphase: 2, version: 02} (mandatory: True)
261 112478962961147124edd43549aedd1a335e44bf
261 112478962961147124edd43549aedd1a335e44bf
262 4e4f9194f9f181c57f62e823e8bdfa46ab9e4ff4
262 4e4f9194f9f181c57f62e823e8bdfa46ab9e4ff4
263 cache:rev-branch-cache -- {}
263 cache:rev-branch-cache -- {} (mandatory: True)
264 phase-heads -- {}
264 phase-heads -- {} (mandatory: True)
265 $ rm bundle
265 $ rm bundle
266
266
267 $ hg bundle --base A -r D bundle
267 $ hg bundle --base A -r D bundle
268 3 changesets found
268 3 changesets found
269 $ hg debugbundle bundle
269 $ hg debugbundle bundle
270 Stream params: {Compression: BZ}
270 Stream params: {Compression: BZ}
271 changegroup -- {nbchanges: 3, targetphase: 2, version: 02}
271 changegroup -- {nbchanges: 3, targetphase: 2, version: 02} (mandatory: True)
272 112478962961147124edd43549aedd1a335e44bf
272 112478962961147124edd43549aedd1a335e44bf
273 dc0947a82db884575bb76ea10ac97b08536bfa03
273 dc0947a82db884575bb76ea10ac97b08536bfa03
274 4e4f9194f9f181c57f62e823e8bdfa46ab9e4ff4
274 4e4f9194f9f181c57f62e823e8bdfa46ab9e4ff4
275 cache:rev-branch-cache -- {}
275 cache:rev-branch-cache -- {} (mandatory: True)
276 phase-heads -- {}
276 phase-heads -- {} (mandatory: True)
277 dc0947a82db884575bb76ea10ac97b08536bfa03 public
277 dc0947a82db884575bb76ea10ac97b08536bfa03 public
278 $ rm bundle
278 $ rm bundle
279
279
@@ -281,10 +281,10 b' Restore bundle of entire repo'
281 2 changesets found
281 2 changesets found
282 $ hg debugbundle bundle
282 $ hg debugbundle bundle
283 Stream params: {Compression: BZ}
283 Stream params: {Compression: BZ}
284 changegroup -- {nbchanges: 2, targetphase: 2, version: 02}
284 changegroup -- {nbchanges: 2, targetphase: 2, version: 02} (mandatory: True)
285 4e4f9194f9f181c57f62e823e8bdfa46ab9e4ff4
285 4e4f9194f9f181c57f62e823e8bdfa46ab9e4ff4
286 03ca77807e919db8807c3749086dc36fb478cac0
286 03ca77807e919db8807c3749086dc36fb478cac0
287 cache:rev-branch-cache -- {}
287 cache:rev-branch-cache -- {} (mandatory: True)
288 phase-heads -- {}
288 phase-heads -- {} (mandatory: True)
289 03ca77807e919db8807c3749086dc36fb478cac0 draft
289 03ca77807e919db8807c3749086dc36fb478cac0 draft
290 $ rm bundle
290 $ rm bundle
@@ -66,9 +66,9 b' test bundle types'
66 1 changesets found
66 1 changesets found
67 HG20\x00\x00 (esc)
67 HG20\x00\x00 (esc)
68 Stream params: {}
68 Stream params: {}
69 changegroup -- {nbchanges: 1, version: 02}
69 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
70 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
70 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
71 cache:rev-branch-cache -- {}
71 cache:rev-branch-cache -- {} (mandatory: True)
72 none-v2
72 none-v2
73
73
74 % test bundle type bzip2
74 % test bundle type bzip2
@@ -76,9 +76,9 b' test bundle types'
76 1 changesets found
76 1 changesets found
77 HG20\x00\x00 (esc)
77 HG20\x00\x00 (esc)
78 Stream params: {Compression: BZ}
78 Stream params: {Compression: BZ}
79 changegroup -- {nbchanges: 1, version: 02}
79 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
80 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
80 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
81 cache:rev-branch-cache -- {}
81 cache:rev-branch-cache -- {} (mandatory: True)
82 bzip2-v2
82 bzip2-v2
83
83
84 % test bundle type gzip
84 % test bundle type gzip
@@ -86,9 +86,9 b' test bundle types'
86 1 changesets found
86 1 changesets found
87 HG20\x00\x00 (esc)
87 HG20\x00\x00 (esc)
88 Stream params: {Compression: GZ}
88 Stream params: {Compression: GZ}
89 changegroup -- {nbchanges: 1, version: 02}
89 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
90 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
90 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
91 cache:rev-branch-cache -- {}
91 cache:rev-branch-cache -- {} (mandatory: True)
92 gzip-v2
92 gzip-v2
93
93
94 % test bundle type none-v2
94 % test bundle type none-v2
@@ -96,9 +96,9 b' test bundle types'
96 1 changesets found
96 1 changesets found
97 HG20\x00\x00 (esc)
97 HG20\x00\x00 (esc)
98 Stream params: {}
98 Stream params: {}
99 changegroup -- {nbchanges: 1, version: 02}
99 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
100 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
100 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
101 cache:rev-branch-cache -- {}
101 cache:rev-branch-cache -- {} (mandatory: True)
102 none-v2
102 none-v2
103
103
104 % test bundle type v2
104 % test bundle type v2
@@ -106,9 +106,9 b' test bundle types'
106 1 changesets found
106 1 changesets found
107 HG20\x00\x00 (esc)
107 HG20\x00\x00 (esc)
108 Stream params: {Compression: BZ}
108 Stream params: {Compression: BZ}
109 changegroup -- {nbchanges: 1, version: 02}
109 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
110 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
110 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
111 cache:rev-branch-cache -- {}
111 cache:rev-branch-cache -- {} (mandatory: True)
112 bzip2-v2
112 bzip2-v2
113
113
114 % test bundle type v1
114 % test bundle type v1
@@ -171,9 +171,9 b' Compression level can be adjusted for bu'
171 1 changesets found
171 1 changesets found
172 HG20\x00\x00 (esc)
172 HG20\x00\x00 (esc)
173 Stream params: {Compression: ZS}
173 Stream params: {Compression: ZS}
174 changegroup -- {nbchanges: 1, version: 02}
174 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
175 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
175 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
176 cache:rev-branch-cache -- {}
176 cache:rev-branch-cache -- {} (mandatory: True)
177 zstd-v2
177 zstd-v2
178
178
179 % test bundle type zstd-v2
179 % test bundle type zstd-v2
@@ -181,9 +181,9 b' Compression level can be adjusted for bu'
181 1 changesets found
181 1 changesets found
182 HG20\x00\x00 (esc)
182 HG20\x00\x00 (esc)
183 Stream params: {Compression: ZS}
183 Stream params: {Compression: ZS}
184 changegroup -- {nbchanges: 1, version: 02}
184 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
185 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
185 c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
186 cache:rev-branch-cache -- {}
186 cache:rev-branch-cache -- {} (mandatory: True)
187 zstd-v2
187 zstd-v2
188
188
189
189
@@ -993,7 +993,7 b' Support for changegroup'
993
993
994 $ hg debugbundle ../rev.hg2
994 $ hg debugbundle ../rev.hg2
995 Stream params: {}
995 Stream params: {}
996 changegroup -- {}
996 changegroup -- {} (mandatory: False)
997 32af7686d403cf45b5d95f2d70cebea587ac806a
997 32af7686d403cf45b5d95f2d70cebea587ac806a
998 9520eea781bcca16c1e15acc0ba14335a0e8e5ba
998 9520eea781bcca16c1e15acc0ba14335a0e8e5ba
999 eea13746799a9e0bfd88f29d3c2e9dc9389f524f
999 eea13746799a9e0bfd88f29d3c2e9dc9389f524f
@@ -1122,7 +1122,7 b' Simple case where it just work: GZ'
1122 0370: 3b 19 fd af c5 3f f1 60 c3 17 |;....?.`..|
1122 0370: 3b 19 fd af c5 3f f1 60 c3 17 |;....?.`..|
1123 $ hg debugbundle ../rev.hg2.bz
1123 $ hg debugbundle ../rev.hg2.bz
1124 Stream params: {Compression: GZ}
1124 Stream params: {Compression: GZ}
1125 changegroup -- {}
1125 changegroup -- {} (mandatory: False)
1126 32af7686d403cf45b5d95f2d70cebea587ac806a
1126 32af7686d403cf45b5d95f2d70cebea587ac806a
1127 9520eea781bcca16c1e15acc0ba14335a0e8e5ba
1127 9520eea781bcca16c1e15acc0ba14335a0e8e5ba
1128 eea13746799a9e0bfd88f29d3c2e9dc9389f524f
1128 eea13746799a9e0bfd88f29d3c2e9dc9389f524f
@@ -1209,7 +1209,7 b' Simple case where it just work: BZ'
1209 0430: 2e e4 8a 70 a1 21 46 96 30 7a |...p.!F.0z|
1209 0430: 2e e4 8a 70 a1 21 46 96 30 7a |...p.!F.0z|
1210 $ hg debugbundle ../rev.hg2.bz
1210 $ hg debugbundle ../rev.hg2.bz
1211 Stream params: {Compression: BZ}
1211 Stream params: {Compression: BZ}
1212 changegroup -- {}
1212 changegroup -- {} (mandatory: False)
1213 32af7686d403cf45b5d95f2d70cebea587ac806a
1213 32af7686d403cf45b5d95f2d70cebea587ac806a
1214 9520eea781bcca16c1e15acc0ba14335a0e8e5ba
1214 9520eea781bcca16c1e15acc0ba14335a0e8e5ba
1215 eea13746799a9e0bfd88f29d3c2e9dc9389f524f
1215 eea13746799a9e0bfd88f29d3c2e9dc9389f524f
@@ -31,17 +31,17 b' Terse output:'
31
31
32 $ hg debugbundle bundle2.hg
32 $ hg debugbundle bundle2.hg
33 Stream params: {}
33 Stream params: {}
34 changegroup -- {nbchanges: 2, version: 02}
34 changegroup -- {nbchanges: 2, version: 02} (mandatory: True)
35 0e067c57feba1a5694ca4844f05588bb1bf82342
35 0e067c57feba1a5694ca4844f05588bb1bf82342
36 991a3460af53952d10ec8a295d3d2cc2e5fa9690
36 991a3460af53952d10ec8a295d3d2cc2e5fa9690
37 cache:rev-branch-cache -- {}
37 cache:rev-branch-cache -- {} (mandatory: True)
38
38
39 Quiet output
39 Quiet output
40
40
41 $ hg debugbundle --quiet bundle2.hg
41 $ hg debugbundle --quiet bundle2.hg
42 Stream params: {}
42 Stream params: {}
43 changegroup -- {nbchanges: 2, version: 02}
43 changegroup -- {nbchanges: 2, version: 02} (mandatory: True)
44 cache:rev-branch-cache -- {}
44 cache:rev-branch-cache -- {} (mandatory: True)
45
45
46 Verbose output:
46 Verbose output:
47
47
@@ -64,7 +64,7 b' Verbose output:'
64
64
65 $ hg debugbundle --all bundle2.hg
65 $ hg debugbundle --all bundle2.hg
66 Stream params: {}
66 Stream params: {}
67 changegroup -- {nbchanges: 2, version: 02}
67 changegroup -- {nbchanges: 2, version: 02} (mandatory: True)
68 format: id, p1, p2, cset, delta base, len(delta)
68 format: id, p1, p2, cset, delta base, len(delta)
69
69
70 changelog
70 changelog
@@ -80,6 +80,6 b' Verbose output:'
80
80
81 c
81 c
82 b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 0
82 b80de5d138758541c5f05265ad144ab9fa86d1db 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 991a3460af53952d10ec8a295d3d2cc2e5fa9690 0000000000000000000000000000000000000000 0
83 cache:rev-branch-cache -- {}
83 cache:rev-branch-cache -- {} (mandatory: True)
84
84
85 $ cd ..
85 $ cd ..
@@ -159,10 +159,10 b' Test that strip bundle use bundle2'
159 saved backup bundle to $TESTTMP/aggressive/.hg/strip-backup/1c5d4dc9a8b8-6c68e60c-backup.hg
159 saved backup bundle to $TESTTMP/aggressive/.hg/strip-backup/1c5d4dc9a8b8-6c68e60c-backup.hg
160 $ hg debugbundle .hg/strip-backup/*
160 $ hg debugbundle .hg/strip-backup/*
161 Stream params: {Compression: BZ}
161 Stream params: {Compression: BZ}
162 changegroup -- {nbchanges: 1, version: 02}
162 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
163 1c5d4dc9a8b8d6e1750966d343e94db665e7a1e9
163 1c5d4dc9a8b8d6e1750966d343e94db665e7a1e9
164 cache:rev-branch-cache -- {}
164 cache:rev-branch-cache -- {} (mandatory: True)
165 phase-heads -- {}
165 phase-heads -- {} (mandatory: True)
166 1c5d4dc9a8b8d6e1750966d343e94db665e7a1e9 draft
166 1c5d4dc9a8b8d6e1750966d343e94db665e7a1e9 draft
167
167
168 $ cd ..
168 $ cd ..
@@ -170,7 +170,7 b' Get branch and merge:'
170 $ hg debuggetbundle repo bundle -t bundle2
170 $ hg debuggetbundle repo bundle -t bundle2
171 $ hg debugbundle bundle
171 $ hg debugbundle bundle
172 Stream params: {}
172 Stream params: {}
173 changegroup -- {version: 01}
173 changegroup -- {version: 01} (mandatory: True)
174 7704483d56b2a7b5db54dcee7c62378ac629b348
174 7704483d56b2a7b5db54dcee7c62378ac629b348
175 29a4d1f17bd3f0779ca0525bebb1cfb51067c738
175 29a4d1f17bd3f0779ca0525bebb1cfb51067c738
176 713346a995c363120712aed1aee7e04afd867638
176 713346a995c363120712aed1aee7e04afd867638
@@ -93,15 +93,15 b' check-that bundle can contain markers:'
93 1 changesets found
93 1 changesets found
94 $ hg debugbundle ../f89bcc95eba5.hg
94 $ hg debugbundle ../f89bcc95eba5.hg
95 Stream params: {Compression: BZ}
95 Stream params: {Compression: BZ}
96 changegroup -- {nbchanges: 1, version: 02}
96 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
97 f89bcc95eba5174b1ccc3e33a82e84c96e8338ee
97 f89bcc95eba5174b1ccc3e33a82e84c96e8338ee
98 cache:rev-branch-cache -- {}
98 cache:rev-branch-cache -- {} (mandatory: True)
99 $ hg debugbundle ../f89bcc95eba5-obs.hg
99 $ hg debugbundle ../f89bcc95eba5-obs.hg
100 Stream params: {Compression: BZ}
100 Stream params: {Compression: BZ}
101 changegroup -- {nbchanges: 1, version: 02}
101 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
102 f89bcc95eba5174b1ccc3e33a82e84c96e8338ee
102 f89bcc95eba5174b1ccc3e33a82e84c96e8338ee
103 cache:rev-branch-cache -- {}
103 cache:rev-branch-cache -- {} (mandatory: True)
104 obsmarkers -- {}
104 obsmarkers -- {} (mandatory: True)
105 version: 1 (70 bytes)
105 version: 1 (70 bytes)
106 9d73aac1b2ed7d53835eaeec212ed41ea47da53a f89bcc95eba5174b1ccc3e33a82e84c96e8338ee 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
106 9d73aac1b2ed7d53835eaeec212ed41ea47da53a f89bcc95eba5174b1ccc3e33a82e84c96e8338ee 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
107
107
@@ -1452,10 +1452,10 b' Test ability to pull changeset with loca'
1452
1452
1453 $ hg debugbundle .hg/strip-backup/e008cf283490-*-backup.hg
1453 $ hg debugbundle .hg/strip-backup/e008cf283490-*-backup.hg
1454 Stream params: {Compression: BZ}
1454 Stream params: {Compression: BZ}
1455 changegroup -- {nbchanges: 1, version: 02}
1455 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
1456 e008cf2834908e5d6b0f792a9d4b0e2272260fb8
1456 e008cf2834908e5d6b0f792a9d4b0e2272260fb8
1457 cache:rev-branch-cache -- {}
1457 cache:rev-branch-cache -- {} (mandatory: True)
1458 phase-heads -- {}
1458 phase-heads -- {} (mandatory: True)
1459 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 draft
1459 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 draft
1460
1460
1461 #if repobundlerepo
1461 #if repobundlerepo
@@ -1495,14 +1495,14 b' Testing that strip remove markers:'
1495
1495
1496 $ hg debugbundle .hg/strip-backup/e016b03fd86f-*-backup.hg
1496 $ hg debugbundle .hg/strip-backup/e016b03fd86f-*-backup.hg
1497 Stream params: {Compression: BZ}
1497 Stream params: {Compression: BZ}
1498 changegroup -- {nbchanges: 2, version: 02}
1498 changegroup -- {nbchanges: 2, version: 02} (mandatory: True)
1499 e016b03fd86fcccc54817d120b90b751aaf367d6
1499 e016b03fd86fcccc54817d120b90b751aaf367d6
1500 b0551702f918510f01ae838ab03a463054c67b46
1500 b0551702f918510f01ae838ab03a463054c67b46
1501 cache:rev-branch-cache -- {}
1501 cache:rev-branch-cache -- {} (mandatory: True)
1502 obsmarkers -- {}
1502 obsmarkers -- {} (mandatory: True)
1503 version: 1 (92 bytes)
1503 version: 1 (92 bytes)
1504 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 b0551702f918510f01ae838ab03a463054c67b46 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'}
1504 e008cf2834908e5d6b0f792a9d4b0e2272260fb8 b0551702f918510f01ae838ab03a463054c67b46 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'}
1505 phase-heads -- {}
1505 phase-heads -- {} (mandatory: True)
1506 b0551702f918510f01ae838ab03a463054c67b46 draft
1506 b0551702f918510f01ae838ab03a463054c67b46 draft
1507
1507
1508 $ hg unbundle .hg/strip-backup/e016b03fd86f-*-backup.hg
1508 $ hg unbundle .hg/strip-backup/e016b03fd86f-*-backup.hg
@@ -1122,7 +1122,7 b' with general delta'
1122 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
1122 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
1123 $ hg debugbundle .hg/shelved/*.hg
1123 $ hg debugbundle .hg/shelved/*.hg
1124 Stream params: {Compression: BZ}
1124 Stream params: {Compression: BZ}
1125 changegroup -- {nbchanges: 1, version: 02}
1125 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
1126 45993d65fe9dc3c6d8764b9c3b07fa831ee7d92d
1126 45993d65fe9dc3c6d8764b9c3b07fa831ee7d92d
1127 $ cd ..
1127 $ cd ..
1128
1128
@@ -46,7 +46,7 b' The extension requires a repo (currently'
46 $ hg bundle -a --type="none-v2;stream=v2" bundle.hg
46 $ hg bundle -a --type="none-v2;stream=v2" bundle.hg
47 $ hg debugbundle bundle.hg
47 $ hg debugbundle bundle.hg
48 Stream params: {}
48 Stream params: {}
49 stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Cstore}
49 stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Cstore} (mandatory: True)
50 $ hg debugbundle --spec bundle.hg
50 $ hg debugbundle --spec bundle.hg
51 none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Cstore
51 none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Cstore
52
52
@@ -210,10 +210,10 b''
210
210
211 $ hg debugbundle .hg/strip-backup/*
211 $ hg debugbundle .hg/strip-backup/*
212 Stream params: {Compression: BZ}
212 Stream params: {Compression: BZ}
213 changegroup -- {nbchanges: 1, version: 02}
213 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
214 264128213d290d868c54642d13aeaa3675551a78
214 264128213d290d868c54642d13aeaa3675551a78
215 cache:rev-branch-cache -- {}
215 cache:rev-branch-cache -- {} (mandatory: True)
216 phase-heads -- {}
216 phase-heads -- {} (mandatory: True)
217 264128213d290d868c54642d13aeaa3675551a78 draft
217 264128213d290d868c54642d13aeaa3675551a78 draft
218 $ hg unbundle .hg/strip-backup/*
218 $ hg unbundle .hg/strip-backup/*
219 adding changesets
219 adding changesets
@@ -727,13 +727,13 b' Check that the bundle includes cache dat'
727 4 changesets found
727 4 changesets found
728 $ hg debugbundle ./test-cache-in-bundle-all-rev.hg
728 $ hg debugbundle ./test-cache-in-bundle-all-rev.hg
729 Stream params: {Compression: BZ}
729 Stream params: {Compression: BZ}
730 changegroup -- {nbchanges: 4, version: 02}
730 changegroup -- {nbchanges: 4, version: 02} (mandatory: True)
731 96ee1d7354c4ad7372047672c36a1f561e3a6a4c
731 96ee1d7354c4ad7372047672c36a1f561e3a6a4c
732 c4dab0c2fd337eb9191f80c3024830a4889a8f34
732 c4dab0c2fd337eb9191f80c3024830a4889a8f34
733 f63cc8fe54e4d326f8d692805d70e092f851ddb1
733 f63cc8fe54e4d326f8d692805d70e092f851ddb1
734 40f0358cb314c824a5929ee527308d90e023bc10
734 40f0358cb314c824a5929ee527308d90e023bc10
735 hgtagsfnodes -- {}
735 hgtagsfnodes -- {} (mandatory: True)
736 cache:rev-branch-cache -- {}
736 cache:rev-branch-cache -- {} (mandatory: True)
737
737
738 Check that local clone includes cache data
738 Check that local clone includes cache data
739
739
General Comments 0
You need to be logged in to leave comments. Login now