Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN/python library

Tags:

python

svn

I need to manipulate a subversion client from python. I need to:

  • check the most recent revision to change something under a given path.
  • update a client to a given (head or non head) revision
  • get logs for a given path (revisions that changed it and when).

A quick search didn't turn up what I'm looking for and I'd rather not have to write my own wrapper around the svn command line tool. (BTW: running under Linux and python 2.6)

like image 693
BCS Avatar asked Nov 19 '25 21:11

BCS


1 Answers

Check out the pysvn library. Or skim the pysvn Programmer's Guide to see if it meets most of your use cases.

like image 53
ars Avatar answered Nov 22 '25 11:11

ars



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!