mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
obsolete: properly increment currentlen when building pushkey payload
In the old code, the current length was always 0 leading to markers payload never being split.
This commit is contained in:
parent
5f5df03779
commit
0ae0504426
@ -273,6 +273,7 @@ def listmarkers(repo):
|
||||
currentlen = 0
|
||||
parts.append(currentpart)
|
||||
currentpart.append(nextdata)
|
||||
currentlen += len(nextdata)
|
||||
for idx, part in enumerate(reversed(parts)):
|
||||
data = ''.join([_pack('>B', _fmversion)] + part)
|
||||
keys['dump%i' % idx] = base85.b85encode(data)
|
||||
|
Loading…
Reference in New Issue
Block a user