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

Re: [feature] Log HTTP header for autoversioning

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-14 12:00:16 CET

Ben Collins-Sussman wrote:
> On Jan 13, 2005, at 9:50 PM, Stephen Haberman wrote:
>>
>> Perhaps I'm being idealistic, but I just want to put one file into
>> Subversion, with a log message, in less than 10 lines of code. If you
>> could
>> provide the libsvn_client example code (preferably Python :-) that
>> does it,
>> I would be very, very grateful (and would suggest keeping the example
>> around
>> on the website to benefit others learning the bindings - heck, I could
>> make
>> a patch for that if you help me with the code :-).
>>
>
> Look in tools/examples/ in the svn source tree. There are a bunch of
> python examples.
>
> Most of them are examples of using the repository interface directly.
> What you'd want to do is mimic what's going on in 'svnput.c'.
>
> There are others on this list who can probably give you those 10 lines.

Unfortunately, what is wanted here is to use the libsvn_ra API (which is
what svnput.c does) - but that is not wrapped by the Python bindings. I hope
to improve this once lundblad's RA API redesign is done, but that doesn't
really help right now.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 14 12:04:43 2005

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

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