hgext/remotefilelog/shallowutil.py
changeset 49023 176f1a0d15dc
parent 49009 0fe003495f72
child 49292 d44e3c45f0e4
equal deleted inserted replaced
49022:6f10a2d6adf9 49023:176f1a0d15dc
   173     # only 256 keys, and for each value, len(value) <= 0xfffe.
   173     # only 256 keys, and for each value, len(value) <= 0xfffe.
   174     return metabuf
   174     return metabuf
   175 
   175 
   176 
   176 
   177 _metaitemtypes = {
   177 _metaitemtypes = {
   178     constants.METAKEYFLAG: (int, pycompat.long),
   178     constants.METAKEYFLAG: (int, int),
   179     constants.METAKEYSIZE: (int, pycompat.long),
   179     constants.METAKEYSIZE: (int, int),
   180 }
   180 }
   181 
   181 
   182 
   182 
   183 def buildpackmeta(metadict):
   183 def buildpackmeta(metadict):
   184     """like _buildpackmeta, but typechecks metadict and normalize it.
   184     """like _buildpackmeta, but typechecks metadict and normalize it.