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.
--- a/mercurial/obsolete.py Tue Jul 31 00:59:38 2012 +0200
+++ b/mercurial/obsolete.py Tue Jul 31 15:32:08 2012 +0200
@@ -273,6 +273,7 @@
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)