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