Part of bzrlib
There is one format marker followed by a blank line, followed by a series of version headers, followed by the weave itself.
Each version marker has
'i' parent version indexes '1' SHA-1 of text 'n' name
The inclusions do not need to list versions included by a parent.
The weave is bracketed by 'w' and 'W' lines, and includes the '{}[]' processing instructions. Lines of text are prefixed by '.' if the line contains a newline, or ',' if not.
Function | write_weave | Undocumented |
Function | write_weave_v5 | Write weave to file f. |
Function | read_weave | Undocumented |
Function | _read_weave_v5 | Private helper routine to read a weave format 5 file into memory. |