[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-02-15 23:17:53 CET

Calum Robinson <calumr@mac.com> writes:

> 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.
>
> It seems there is no way around this with the current API - is that
> correct?

If you call svn_client_log() on a versioned file, you will get only
the revisions and logs associated with that file. As for caching this
information -- not a good idea, since log messages/authors/dates can
be modified well after the revision is created.

> If this is true then could I suggest a new addition to the client API?
> - a function that would return an array of the revisions associated
> with a file.

You can already get this information via the log interface. But I
guess I can imagine the RA->get_log() interface taking a flag of some
sort that says "don't bother sending me the revision properties" as a
way to reduce unnecessary network traffic.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 15 23:18:50 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.