Show More
@@ -512,8 +512,8 b' class mutablebasepack(versionmixin):' | |||||
512 | self.idxfp.write(struct.pack('!BB', self.VERSION, config)) |
|
512 | self.idxfp.write(struct.pack('!BB', self.VERSION, config)) | |
513 |
|
513 | |||
514 | class indexparams(object): |
|
514 | class indexparams(object): | |
515 |
__slots__ = ('fanoutprefix', 'fanoutstruct', 'fanoutcount', |
|
515 | __slots__ = (r'fanoutprefix', r'fanoutstruct', r'fanoutcount', | |
516 | 'indexstart') |
|
516 | r'fanoutsize', r'indexstart') | |
517 |
|
517 | |||
518 | def __init__(self, prefixsize, version): |
|
518 | def __init__(self, prefixsize, version): | |
519 | self.fanoutprefix = prefixsize |
|
519 | self.fanoutprefix = prefixsize |
@@ -753,8 +753,8 b' class repackledger(object):' | |||||
753 | class repackentry(object): |
|
753 | class repackentry(object): | |
754 | """Simple class representing a single revision entry in the repackledger. |
|
754 | """Simple class representing a single revision entry in the repackledger. | |
755 | """ |
|
755 | """ | |
756 |
__slots__ = |
|
756 | __slots__ = (r'filename', r'node', r'datasource', r'historysource', | |
757 |
'datarepacked', 'historyrepacked', 'gced' |
|
757 | r'datarepacked', r'historyrepacked', r'gced') | |
758 | def __init__(self, filename, node): |
|
758 | def __init__(self, filename, node): | |
759 | self.filename = filename |
|
759 | self.filename = filename | |
760 | self.node = node |
|
760 | self.node = node |
@@ -158,8 +158,8 b' def _buildpackmeta(metadict):' | |||||
158 | return metabuf |
|
158 | return metabuf | |
159 |
|
159 | |||
160 | _metaitemtypes = { |
|
160 | _metaitemtypes = { | |
161 | constants.METAKEYFLAG: (int, long), |
|
161 | constants.METAKEYFLAG: (int, pycompat.long), | |
162 | constants.METAKEYSIZE: (int, long), |
|
162 | constants.METAKEYSIZE: (int, pycompat.long), | |
163 | } |
|
163 | } | |
164 |
|
164 | |||
165 | def buildpackmeta(metadict): |
|
165 | def buildpackmeta(metadict): |
General Comments 0
You need to be logged in to leave comments.
Login now