[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

More / Better examples of using Python bindings?

From: jarrod roberson <jarrod.roberson_at_gmail.com>
Date: 2005-09-27 04:06:22 CEST

After countless hours of searching google and google groups all the examples
I can file of using the Python bindings are either so simple and contrived
they are of no use, or they are so complex you can't figure out what they
are doing for all the indirection of the actual program.

I am trying to write a simple pre-commit hook that will check the
transaction and make sure nothing in it is being applied against anything in
the /tags/ module.

I am trying to do this without resorting to dumping an svnlook out to a text
file then reparsing it, since we have these nice bindings and all, I figured
I could make some calls to get the contents of the transaction, but I can't
find anything applicable.

Any thing that points me in the right direction would be a great help.
Received on Tue Sep 27 04:07:55 2005

This is an archived mail posted to the Subversion Users mailing list.