Show More
@@ -1050,7 +1050,11 class bundlepart(object): | |||||
1050 | header.append(key) |
|
1050 | header.append(key) | |
1051 | header.append(value) |
|
1051 | header.append(value) | |
1052 | ## finalize header |
|
1052 | ## finalize header | |
|
1053 | try: | |||
1053 | headerchunk = ''.join(header) |
|
1054 | headerchunk = ''.join(header) | |
|
1055 | except TypeError: | |||
|
1056 | raise TypeError(r'Found a non-bytes trying to ' | |||
|
1057 | r'build bundle part header: %r' % header) | |||
1054 | outdebug(ui, 'header chunk size: %i' % len(headerchunk)) |
|
1058 | outdebug(ui, 'header chunk size: %i' % len(headerchunk)) | |
1055 | yield _pack(_fpartheadersize, len(headerchunk)) |
|
1059 | yield _pack(_fpartheadersize, len(headerchunk)) | |
1056 | yield headerchunk |
|
1060 | yield headerchunk |
General Comments 0
You need to be logged in to leave comments.
Login now