##// END OF EJS Templates
obsstore: cache size computation for fm1 node...
Pierre-Yves David -
r23499:b46876c9 default
parent child Browse files
Show More
@@ -276,6 +276,8 b' def _fm0decodemeta(data):'
276 _fm1fixed = '>IdhHBBB20s'
276 _fm1fixed = '>IdhHBBB20s'
277 _fm1nodesha1 = '20s'
277 _fm1nodesha1 = '20s'
278 _fm1nodesha256 = '32s'
278 _fm1nodesha256 = '32s'
279 _fm1nodesha1size = _calcsize(_fm1nodesha1)
280 _fm1nodesha256size = _calcsize(_fm1nodesha256)
279 _fm1fsize = _calcsize(_fm1fixed)
281 _fm1fsize = _calcsize(_fm1fixed)
280 _fm1parentnone = 3
282 _fm1parentnone = 3
281 _fm1parentshift = 14
283 _fm1parentshift = 14
@@ -298,9 +300,10 b' def _fm1readmarkers(data, off=0):'
298 # build the date tuple (upgrade tz minutes to seconds)
300 # build the date tuple (upgrade tz minutes to seconds)
299 date = (seconds, tz * 60)
301 date = (seconds, tz * 60)
300 _fm1node = _fm1nodesha1
302 _fm1node = _fm1nodesha1
303 fnodesize = _fm1nodesha1size
301 if flags & usingsha256:
304 if flags & usingsha256:
302 _fm1node = _fm1nodesha256
305 _fm1node = _fm1nodesha256
303 fnodesize = _calcsize(_fm1node)
306 fnodesize = _fm1nodesha256size
304 # read replacement
307 # read replacement
305 sucs = ()
308 sucs = ()
306 if numsuc:
309 if numsuc:
General Comments 0
You need to be logged in to leave comments. Login now