Show More
@@ -1000,7 +1000,7 b' class bundlepart(object):' | |||||
1000 | parttype = self.type.upper() |
|
1000 | parttype = self.type.upper() | |
1001 | else: |
|
1001 | else: | |
1002 | parttype = self.type.lower() |
|
1002 | parttype = self.type.lower() | |
1003 | outdebug(ui, 'part %s: "%s"' % (self.id, parttype)) |
|
1003 | outdebug(ui, 'part %s: "%s"' % (pycompat.bytestr(self.id), parttype)) | |
1004 | ## parttype |
|
1004 | ## parttype | |
1005 | header = [_pack(_fparttypesize, len(parttype)), |
|
1005 | header = [_pack(_fparttypesize, len(parttype)), | |
1006 | parttype, _pack(_fpartid, self.id), |
|
1006 | parttype, _pack(_fpartid, self.id), | |
@@ -1239,7 +1239,7 b' class unbundlepart(unpackermixin):' | |||||
1239 | self.type = self._fromheader(typesize) |
|
1239 | self.type = self._fromheader(typesize) | |
1240 | indebug(self.ui, 'part type: "%s"' % self.type) |
|
1240 | indebug(self.ui, 'part type: "%s"' % self.type) | |
1241 | self.id = self._unpackheader(_fpartid)[0] |
|
1241 | self.id = self._unpackheader(_fpartid)[0] | |
1242 | indebug(self.ui, 'part id: "%s"' % self.id) |
|
1242 | indebug(self.ui, 'part id: "%s"' % pycompat.bytestr(self.id)) | |
1243 | # extract mandatory bit from type |
|
1243 | # extract mandatory bit from type | |
1244 | self.mandatory = (self.type != self.type.lower()) |
|
1244 | self.mandatory = (self.type != self.type.lower()) | |
1245 | self.type = self.type.lower() |
|
1245 | self.type = self.type.lower() |
General Comments 0
You need to be logged in to leave comments.
Login now