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

Re: libsvn_client & log messages

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2004-02-17 20:52:48 CET

At 15-02-2004 17:09, Calum Robinson wrote:
>I'm in the process of writing a GUI client for subversion (which is going
>very smoothly thanks to the nice API), but have run into a problem with
>getting the versions associated with a file or directory.

How is your GUI different to the others in development? What do you think is
missing from the other GUI's designs?

>I want to display a table for the selected file, with a list of revision
>#'s and authors only (revisions where the file was modified in some way).
>The log message for the selected revision is displayed separately (i.e.
>the log message for a revision isn't needed until the user selects it).

>At the moment, I can call svn_client_log() in a separate thread and update
>the table that way, but for large repositories that aren't local it takes
>a while to fetch 1000's of log messages (especially annoying if you want
>to see the log message for a fairly recent revision - you''ll have to wait
>for every previous revision to be fetched). What I really want to do is
>only download the 'interesting' revisions associated with a file/folder,
>in any order I need to.

In my WorkBench GUI (see pysvn.tigris.org) this is what I display with the
History command for a file. I only see info for the revisions that the file
was modified in (that interesting ones), Just as you want.

The delay is the round trip time to the repo, not the amount of data
returned, so
losing the text of the log message should not make that much difference to
the delay
unless you are on a very low bandwidth connection.

Is the problem that you want this data for all the files in a working copy?

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 17 20:53:06 2004

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.