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