65
65
"""Write the state object to stream."""
68
68
# Note that we could possibly optimise our unicode handling here.
69
69
for thread, rev_id, parents in self._state.get_threads():
70
70
assert len(parents) == len(self._state.get_parents())
71
71
# leading space for conflict status
83
83
class LoomStateReader(object):