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

Re: Logging Subversion client HTTP requests

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Sat, 30 Jul 2011 17:42:00 -0500

On Jul 30, 2011, at 17:35, Manuel Lemos wrote:

> on 07/30/2011 09:00 AM Erik Huelsmann said the following:
>>
>
>> Are you not using the libsvn_* libraries? libsvn_client is specifically
>> meant to build Subversion clients other than the standard command line
>> client: Subclipse, AnkhSVN, TortoiseSVN and others are all based on it.
>>
>> When using those libraries, you don't have to be worried to "emulate"
>> the protocol correctly. Basically, you can build your own client on the
>> vast experience of the Subversion developers. The other libraries allow
>> you to interact as a Subversion client on different levels in the stack,
>> libsvn_ra for example will allow you to interact with a Subversion
>> server without having a local working copy.
>
> Sorry, I did not mention that I am writing a pure PHP client that needs to run on an environment on which the svn program is not available, nor any SubVersion PHP extensions are available. So using anything based on libsvn is not an option for me unfortunately.

That's.... ridiculous. Use an svn php extension. Or if you must, call the svn command line program. Don't reinvent the wheel, because you probably won't get it quite right, and you'll cause weird error messages or possibly even repository corruption.
Received on 2011-07-31 00:42:35 CEST

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