Show More
@@ -656,6 +656,7 b' class unbundle20(unpackermixin):' | |||
|
656 | 656 | """If header is specified, we do not read it out of the stream.""" |
|
657 | 657 | self.ui = ui |
|
658 | 658 | self._decompressor = util.decompressors[None] |
|
659 | self._compressed = None | |
|
659 | 660 | super(unbundle20, self).__init__(fp) |
|
660 | 661 | |
|
661 | 662 | @util.propertycache |
@@ -778,7 +779,8 b' class unbundle20(unpackermixin):' | |||
|
778 | 779 | return None |
|
779 | 780 | |
|
780 | 781 | def compressed(self): |
|
781 | return False | |
|
782 | self.params # load params | |
|
783 | return self._compressed | |
|
782 | 784 | |
|
783 | 785 | formatmap = {'20': unbundle20} |
|
784 | 786 | |
@@ -799,6 +801,8 b' def processcompression(unbundler, param,' | |||
|
799 | 801 | raise error.BundleUnknownFeatureError(params=(param,), |
|
800 | 802 | values=(value,)) |
|
801 | 803 | unbundler._decompressor = util.decompressors[value] |
|
804 | if value is not None: | |
|
805 | unbundler._compressed = True | |
|
802 | 806 | |
|
803 | 807 | class bundlepart(object): |
|
804 | 808 | """A bundle2 part contains application level payload |
General Comments 0
You need to be logged in to leave comments.
Login now