You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alan Knowles <al...@akbkhome.com> on 2005/04/23 01:57:46 UTC

svn diff in bindings

I was having a look at bindings for svn diff, from the header files, it
indicates you need to give it a arp_file pointers. (which for the
standard svn client is stdout/stderr.)

What do the other bindings do here? - do they just output to stdout, or
is there a way to associate a stream and use that? From a end user POV
it would be nicer if svn_diff(...) returned the diff as a string.

BTW: the php bindings are useable enough for hook scripts now, these two
are tested and working. (and not too messy), although the api is
probably going to change when I add authentication support.

http://devel.akbkhome.com/svn/index.php/ext_svn/examples/hook_copycommit.php
http://devel.akbkhome.com/svn/index.php/ext_svn/examples/hook_emailcommit.php




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

Re: svn diff in bindings

Posted by Alan Knowles <al...@akbkhome.com>.
The code is now in php's cvs server 
http://cvs.php.net/pecl/svn

Wez has been adding alot of the missing features, so it does things like
authentication, diff's etc.

Regards
Alan

On Wed, 2005-04-27 at 14:29 +0200, Ryan Schmidt wrote:
> On 23.04.2005, at 03:57, Alan Knowles wrote:
> 
> > BTW: the php bindings are useable enough for hook scripts now, these  
> > two
> > are tested and working. (and not too messy), although the api is
> > probably going to change when I add authentication support.
> >
> > http://devel.akbkhome.com/svn/index.php/ext_svn/examples/ 
> > hook_copycommit.php
> > http://devel.akbkhome.com/svn/index.php/ext_svn/examples/ 
> > hook_emailcommit.php
> 
> Not there anymore. Have you (re)moved 'em?
> 
> \r
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 


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

Re: svn diff in bindings

Posted by Ryan Schmidt <su...@ryandesign.com>.
On 23.04.2005, at 03:57, Alan Knowles wrote:

> BTW: the php bindings are useable enough for hook scripts now, these  
> two
> are tested and working. (and not too messy), although the api is
> probably going to change when I add authentication support.
>
> http://devel.akbkhome.com/svn/index.php/ext_svn/examples/ 
> hook_copycommit.php
> http://devel.akbkhome.com/svn/index.php/ext_svn/examples/ 
> hook_emailcommit.php

Not there anymore. Have you (re)moved 'em?

\r


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