You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by John Pye <jo...@student.unsw.edu.au> on 2006/03/15 01:12:52 UTC

python scripting: retreiving change info for buildbot

Hi all,

I saw that thread about the python API and its lacking documentation. I 
also read about 'pysvn' and tried to build it but it doesn't have a 
standard python build process and isn't available as an RPM package.

Can anyone tell me what the three-liner python script would be that 
takes a subversion repository URL and pulls out the latest trunk 
revision and who it was by?

My attempt was

> import svn.client
> msgs = 
> svn.client.log("https://pse.cheme.cmu.edu/svn/ascend/code/trunk",limit=1)
> print msgs


But apparently I need *8* arguments to that function, and I can't use 
keyword arguments.

I'm hoping to use this to implement a way to monitor an svn repository 
for buildbot updates without needing to install hook scripts on the 
server, which is under my control.

Would appreciate any help you can offer.

Cheers
JP


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org