Is there any python lib for calling CVS api?

Paul Boddie paul at boddie.org.uk
Mon Nov 6 05:55:09 EST 2006


ironpythonster at gmail.com wrote:
> Hi everyone, this should be a quick question.  I'm writing some scripts
> to take some file and move them into a CVS repository, but it's pretty
> slow, because it uses system calls to execute the CVS commands.

[...]

> anyway, if anyone knows of a useful module, I'd love to hear about it.

You might get some ideas from ViewVC if you're accessing the repository
directly:

http://www.viewvc.org/

There may be scripts out there which import data from various other
revision control systems into CVS, although the focus these days seems
to be on *exporting* data from CVS and putting it into things like
Subversion, Bazaar, Mercurial and so on, but I believe the scripts for
the latter two are Python programs and may also provide some
inspiration.

Paul




More information about the Python-list mailing list