diff --git a/swh/loader/mercurial/bundle20_reader.py b/swh/loader/mercurial/bundle20_reader.py --- a/swh/loader/mercurial/bundle20_reader.py +++ b/swh/loader/mercurial/bundle20_reader.py @@ -584,14 +584,19 @@ args: data: either a string or a list of strings that, when joined, - embodies the composition of a manifest. This takes the form - of repetitions of (without the brackets): - b'\x00[flag]\n' ...repeat... - where [flag] may or may not be there depending on whether the - file is specially flagged as executable or something + embodies the composition of a manifest. + + This takes the form + of repetitions of (without the brackets):: + + b'\x00[flag]\\n' ...repeat... + + where ``[flag]`` may or may not be there depending on + whether the file is specially flagged as executable or + something returns: - dict of key=file_path, value=(file_node, permissions) where + dict: ``{file_path: (file_node, permissions), ...}`` where permissions is given according to the flag that optionally exists in the data """