We want Pootle to support version control so that it can follow CVS or subversion (or other) versions for a project. These are some notes on the idea
There are two modules call PyCVS - http://software.cnx.rice.edu/downloads/python/pycvs/ which is a wrapper to the CVS commandline, and http://pycvs.sourceforge.net/ which is an implementation of the CVS protocol. There is also an implementation like this in the Python Demo directory.
We’re using just one procedure from the commandline wrapper, which lets us get the latest version of a file to stdout and then read it into a string. Then we can do merging ourselves. A similar operation is done using svn cat for subversion repositories