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

Re: [PATCH] Flush stdout more often

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2006-03-07 17:50:14 CET

On 2006-03-07 02:14:13 -0800, Justin Erenkrantz wrote:
> The only thing you'd need to implement is the print logic that you
> want. You'd implement svn_wc_notify_func2_t and set that in your
> svn_client_ctx. You can call the diff/merge/whatever functions from
> your application directly rather than invoking a binary application

My application is an interactive shell. The interface between
Subversion and the shell is a shell command (currently the
"svn"/"svnadmin" commands).

> and your notifier will get invoked. You'll also get all of the
> information you want directly from the bindings without having to
> parse anything thing from stdout. You can display it however you like
> with as much or as little buffering as you'd like.
>
> The bindings are the way every front-end to Subversion should be written.

So, you suggest to rewrite a command that does the same thing as svn,
except that it uses the bindings to flush the output when needed?

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 7 17:50:45 2006

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.