[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: Manuel Lemos <mlemos_at_acm.org>
Date: Sat, 30 Jul 2011 19:56:02 -0300


on 07/30/2011 07:42 PM Ryan Schmidt said the following:
>> 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.

Maybe I was not clear, but I really need to access SubVersion
repositories in third-party environments on which there is no subversion
client nor any PHP SubVersion extension.

I can already do it to access CVS and Git repositories, there is no
reason I cannot do it for SubVersion.

I understand what you are saying not getting it quite right, but I do
not have an option, so I have to do it all in pure PHP.

I have already a pure PHP implementation working with most repositories
but I am getting error 400 when accessing some repositories over HTTPS
and I could not figure what am I doing differently.

I am also skilled in C programming for many years but that is not an
option to run my code in environments that I do not control.

So, would you be able to be so kind to help locating the svn command
code that I need to hack to make it show the HTTP dialog?

Manuel Lemos
JS Classes - Free ready to use OOP components written in JavaScript
Received on 2011-07-31 00:56:34 CEST

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.