arunproff
New Member
- Messages
- 9
- Reaction score
- 1
- Points
- 0
hi,
i'm trying to build a simple wiki using Python (yes I know there are a couple out there). I also want to track document history. But instead of saving each revision of the document, I thought it might consume less space by just storing the diff for each version compared to the more current version.
I have found a python library for calculating the diff between document versions, but can't seem to find anything for reconstructing an old version using the diffs and the current version of the document.
Has anyone come across a library (pure python preferrably) that can do this? Or have a simple algorithm they can post that can do this?
thanks,
arun
i'm trying to build a simple wiki using Python (yes I know there are a couple out there). I also want to track document history. But instead of saving each revision of the document, I thought it might consume less space by just storing the diff for each version compared to the more current version.
I have found a python library for calculating the diff between document versions, but can't seem to find anything for reconstructing an old version using the diffs and the current version of the document.
Has anyone come across a library (pure python preferrably) that can do this? Or have a simple algorithm they can post that can do this?
thanks,
arun