How to store tree-like data?
- Every revision has a hash (it's id)
- Every revision has a parent revision (null for the root)
- Every revision may have children revisions (like branching)
Example of such a tree:
I want to be able to fetch a revision as well as it's ancestors up to the root:
Reads are often. Writes are not, and most of them are new revisions (leafs).
For now, I see several ways of doing this:
