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

Re: java and svn_notify_func_t and large files

From: Ich Selbst <ichselbst_at_gmx.ch>
Date: 2002-11-19 20:32:10 CET

> Hi, I'm writting a java gui for subversion and would like to provide
> file transfer feedback to the user (e.g. when large files are transfered
> instead of simply showing the file name I would like to show the bytes
> being transfered as well).
> Currently the svn_client_checkout only calls the notify function once
> per file. In my previous life a wrote a CVS client and gui and we added
> a callback just for this purpose, to provide timely feedback for
> transfers of large files.

That would not only be good for a java GUI but for any other clients as
well.
I asked for that some time ago but since I asked on a weekend I got
no response - my fault :)

I would even go a step further and provide a two-way callback in which
the client could return FALSE to stop the command. Because right now
it's not possible to stop a command (at least without killing the thread
and leaving memory leaks).

> Are there plans to reduce the granularity of the callback and say have
> it called for every block size that is transfered? Or am I missing
> something in the API?

If something like that is in the API I haven't found it either.

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 19 20:33:13 2002

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.