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

svn diff in bindings

From: Alan Knowles <alan_at_akbkhome.com>
Date: 2005-04-23 03:57:46 CEST

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
Received on Sat Apr 23 03:56:47 2005

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.