##// END OF EJS Templates
readmarkers: drop a conditional
Matt Mackall -
r23793:201e1516 default
parent child Browse files
Show More
@@ -302,12 +302,10 def _fm1readmarkers(data, off=0):
302 _fm1node = _fm1nodesha256
302 _fm1node = _fm1nodesha256
303 fnodesize = _fm1nodesha256size
303 fnodesize = _fm1nodesha256size
304
304
305 # read replacement
305 # read 0 or more successors
306 sucs = ()
306 s = (fnodesize * numsuc)
307 if numsuc:
307 sucs = _unpack(_fm1node * numsuc, data[off:off + s])
308 s = (fnodesize * numsuc)
308 off += s
309 sucs = _unpack(_fm1node * numsuc, data[off:off + s])
310 off += s
311
309
312 # read parents
310 # read parents
313 if numpar == _fm1parentnone:
311 if numpar == _fm1parentnone:
General Comments 0
You need to be logged in to leave comments. Login now