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

RE: Python binding examples, any more than the ones included in the src?

From: Dale Hirt <dale_at_sbcltd.com>
Date: 2005-09-28 19:21:04 CEST

Jarrod,
 
speaking from someone who is constantly striving to keep his head above water, I can tell you that it is a very steep learning curve.
 
I probably could whip something up that will get near to what you want, although it may be easier just to parse svnlook's output.
 
Dale

-----Original Message-----
From: jarrod roberson [mailto:jarrod.roberson@gmail.com]
Sent: Wednesday, September 28, 2005 9:44 AM
To: users@subversion.tigris.org
Subject: Python binding examples, any more than the ones included in the src?

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.

-- 
If you don't know what you want, you probably need a nap. 
Received on Wed Sep 28 19:23:57 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.