Within a java program, I want to calculate the diff between two versions of a src file in a cvs repository. The cvs repository is on a different machine and the java program on my local machine need to query it. I do not know if there is an exposed API for such a task.
After searching on google, I came to know that there is a cvs diff command that performs a similar job but as I said, I donot have the cvs server residing on my local machine to manipulate and configure it as per my needs. Moreover, I need to perform the querying in a java program. In what lines should I proceed with this?
Access CVS repositories from Java with jCVS.
SVN repository you could access with SVNKit.