views:

270

answers:

2

I once did a cursory search and found no good CVS bindings for Python. I wanted to be able to write helper scripts to do some fine-grained manipulation of the repository and projects in it. I had to resort to using popen and checking the stdout and stderr and then parsing those. It was messy and error-prone.

Are there any good quality modules for CVS integration for Python? Which module do you prefer and why?

While I am at it, is there a good Subversion integration module for Python? My understanding is that Subversion has a great API for such things.

Thanks!

+6  A: 

For svn, there is pysvn, which is pretty good.

For cvs, a google search reveals pycvs, I've never used it, but it might be worth a look.

Moe
A: 

Tailor, a Python program which lets different version control systems interoperate, simply calls the external programs cvs and svn when working with repositories of those formats. This seems pretty ugly, but reduces Tailor's dependencies from "requires ____ bindings" to "requires working system".

ephemient