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

Re: Bonsai-like interface for Subversion

From: Edmund Horner <edmund_at_chrysophylax.cjb.net>
Date: 2003-05-17 14:32:46 CEST

> Performance is pretty bad, the multiple calls to the svn binary
> get quite expensive if there are lots of tags/branches/etc. I'd
> appreciate some advice on how it might be made more efficient
> (I'm guessing I could use some language bindings and only initialise
> the DBM once, but I'm not familiar with Python and there don't seem
> to be any Perl/PHP (my preferred languages) up and running. Perhaps
> SWIG can generate them, but I haven't looked into it).

Sounds like a similar issue that of my PHP repository browser. I had
set myself the goal of having a maximum of two calls to svn.exe. In the
long run I want to use the proper Subversion libs... I checked out SWIG,
and it seems to support PHP.

But I don't know how SWIG works. I think it generates a PHP module
(i.e. DLL)--but doing that would require lots of compilation with PHP
and Subversion headers, libraries, etc.

My script sounds a lot simpler than a branch viewing tool, but if you
want to see an example of "how not to" access the repository using
svn.exe, send me an e-mail and I'll send it to you. (It's not up for
general publication because I'm embarassed about it!).

Edmund Horner.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 17 14:34:01 2003

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.