Skip to content
Snippets Groups Projects
Commit b1efc4893da4 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

obsolete: _rename encodemeta to _fm0encodemeta

This will be format zero specific.
parent ef880e28e56a
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@
metadata['p0'] = ''
for i, p in enumerate(parents):
metadata['p%i' % (i + 1)] = node.hex(p)
metadata = encodemeta(metadata)
metadata = _fm0encodemeta(metadata)
numsuc = len(sucs)
format = _fm0fixed + (_fm0node * numsuc)
data = [numsuc, len(metadata), flags, pre]
......@@ -232,7 +232,7 @@
yield encodeone(marker)
def encodemeta(meta):
def _fm0encodemeta(meta):
"""Return encoded metadata string to string mapping.
Assume no ':' in key and no '\0' in both key and value."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment