Show More
@@ -2143,7 +2143,7 b' def bundle2getvars(op, part):' | |||||
2143 | @parthandler('stream2', ('requirements', 'filecount', 'bytecount')) |
|
2143 | @parthandler('stream2', ('requirements', 'filecount', 'bytecount')) | |
2144 | def handlestreamv2bundle(op, part): |
|
2144 | def handlestreamv2bundle(op, part): | |
2145 |
|
2145 | |||
2146 | requirements = part.params['requirements'].split() |
|
2146 | requirements = urlreq.unquote(part.params['requirements']).split(',') | |
2147 | filecount = int(part.params['filecount']) |
|
2147 | filecount = int(part.params['filecount']) | |
2148 | bytecount = int(part.params['bytecount']) |
|
2148 | bytecount = int(part.params['bytecount']) | |
2149 |
|
2149 |
@@ -1793,7 +1793,7 b' def _getbundlestream2(bundler, repo, sou' | |||||
1793 | bundler.prefercompressed = False |
|
1793 | bundler.prefercompressed = False | |
1794 |
|
1794 | |||
1795 | filecount, bytecount, it = streamclone.generatev2(repo) |
|
1795 | filecount, bytecount, it = streamclone.generatev2(repo) | |
1796 |
requirements = |
|
1796 | requirements = _formatrequirementsspec(repo.requirements) | |
1797 | part = bundler.newpart('stream2', data=it) |
|
1797 | part = bundler.newpart('stream2', data=it) | |
1798 | part.addparam('bytecount', '%d' % bytecount, mandatory=True) |
|
1798 | part.addparam('bytecount', '%d' % bytecount, mandatory=True) | |
1799 | part.addparam('filecount', '%d' % filecount, mandatory=True) |
|
1799 | part.addparam('filecount', '%d' % filecount, mandatory=True) |
@@ -199,23 +199,23 b' getbundle requests with stream=1 are unc' | |||||
199 |
|
199 | |||
200 |
|
200 | |||
201 | $ f --size --hex --bytes 256 body |
|
201 | $ f --size --hex --bytes 256 body | |
202 |
body: size=1122 |
|
202 | body: size=112230 | |
203 | 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......| |
|
203 | 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......| | |
204 |
0010: |
|
204 | 0010: 70 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |p.STREAM2.......| | |
205 |
0020: 05 09 04 0c |
|
205 | 0020: 05 09 04 0c 35 62 79 74 65 63 6f 75 6e 74 39 38 |....5bytecount98| | |
206 | 0030: 37 35 38 66 69 6c 65 63 6f 75 6e 74 31 30 33 30 |758filecount1030| |
|
206 | 0030: 37 35 38 66 69 6c 65 63 6f 75 6e 74 31 30 33 30 |758filecount1030| | |
207 | 0040: 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 65 |requirementsdote| |
|
207 | 0040: 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 65 |requirementsdote| | |
208 |
0050: 6e 63 6f 64 65 2 |
|
208 | 0050: 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 25 |ncode%2Cfncache%| | |
209 |
0060: 6e 65 72 61 6c 64 65 6c 74 61 2 |
|
209 | 0060: 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 32 |2Cgeneraldelta%2| | |
210 | 0070: 67 76 31 20 73 74 6f 72 65 00 00 80 00 73 08 42 |gv1 store....s.B| |
|
210 | 0070: 43 72 65 76 6c 6f 67 76 31 25 32 43 73 74 6f 72 |Crevlogv1%2Cstor| | |
211 | 0080: 64 61 74 61 2f 30 2e 69 00 03 00 01 00 00 00 00 |data/0.i........| |
|
211 | 0080: 65 00 00 80 00 73 08 42 64 61 74 61 2f 30 2e 69 |e....s.Bdata/0.i| | |
212 |
0090: 00 0 |
|
212 | 0090: 00 03 00 01 00 00 00 00 00 00 00 02 00 00 00 01 |................| | |
213 |
00a0: ff ff ff ff ff ff ff ff |
|
213 | 00a0: 00 00 00 00 00 00 00 01 ff ff ff ff ff ff ff ff |................| | |
214 | 00b0: bf ce fe 56 67 92 67 2c 69 d1 ec 39 00 00 00 00 |...Vg.g,i..9....| |
|
214 | 00b0: 80 29 63 a0 49 d3 23 87 bf ce fe 56 67 92 67 2c |.)c.I.#....Vg.g,| | |
215 |
00c0: 00 00 00 00 00 00 00 00 |
|
215 | 00c0: 69 d1 ec 39 00 00 00 00 00 00 00 00 00 00 00 00 |i..9............| | |
216 | 00d0: 61 2f 31 2e 69 00 03 00 01 00 00 00 00 00 00 00 |a/1.i...........| |
|
216 | 00d0: 75 30 73 08 42 64 61 74 61 2f 31 2e 69 00 03 00 |u0s.Bdata/1.i...| | |
217 |
00e0: 02 00 00 00 01 00 00 00 |
|
217 | 00e0: 01 00 00 00 00 00 00 00 02 00 00 00 01 00 00 00 |................| | |
218 | 00f0: ff ff ff ff ff f9 76 da 1d 0d f2 25 6c de 08 db |......v....%l...| |
|
218 | 00f0: 00 00 00 00 01 ff ff ff ff ff ff ff ff f9 76 da |..............v.| | |
219 |
|
219 | |||
220 | --uncompressed is an alias to --stream |
|
220 | --uncompressed is an alias to --stream | |
221 |
|
221 |
General Comments 0
You need to be logged in to leave comments.
Login now