Python library to access CVS?

P

Parano

Is there a Python library to access CVS?
I tried to google search for it, but with "python cvs" you actually find
alot of python projects that have CVS repository...
 
D

Diez B. Roggisch

Parano said:
Is there a Python library to access CVS?
I tried to google search for it, but with "python cvs" you actually find
alot of python projects that have CVS repository...

I don't know if there exists one or not - but its considered hard to write
one in general, as the design of CVS isn't directed to be
machine-interfacable. AFAIK Eric S. Raymond is the author of the emacs cvs
mode, and always had hard times to make the tool output parsing work -
which one can see, as sometimes errors appear out from nowhere.

Said that, you might think of using subversion instead - its especially
designed to overcome some of the plenty shortcomings of cvs, including the
mentioned one. And there is a python binding for it. svn is mature enough,
and a lot of projects I know are currently migrating - also most important
tools (tortoise, cvsView) are available.
 
B

Benjamin Niemann

Parano said:
Is there a Python library to access CVS?
I tried to google search for it, but with "python cvs" you actually find
alot of python projects that have CVS repository...
I'm not sure, but I think viewcvs (a web interface to CVS written in
python) direcly accesses the CVS repository. You might have a look at it
and see, how it does this and if there's code to reuse.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top