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

Re: [TSVN] slow log messages

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-03-30 18:17:49 CEST

Molle Bestefich wrote:
> Brush John (KCPA 11) wrote:
>
>> Since we have to wait around 30s for the log messages to show, this
>> is a fairly critical problem. Otherwise, an excellent tool!
>
>
> Caching log messages would be very neat. Definitely doable, since
> repository revisions is immutable.. Well, except that log messages
> can be changed if you add a hook that allows it. We could happily
> ignore that fact and tell users to turn off caching if they do that
> and vice versa. Perhaps a radio button that allows two selections,
> "enable log message/author editing" and "cache log messages"...

Another option for the settings dialog???

> We'd probably need a unique identifier (GUID sort of) that identifies
> each repository, so we can detect when a repo is changed on the
> server (pulled away and replaced by another or what not)?

Every repository already has an UID. TSVN uses that UID already to
determine if a working copy paths belong to the same repository (for
commits and for the URL history to show).

> Or maybe just some silly workaround, like having the messages in
> cache, but retrieving messages from HEAD and back to the latest
> revision in the cache - including the latest revision in the cache.
> Do a compare and say things are OK if that top entry from the cache
> matches the first (oldest) of the entries just retrieved.
>
> A log message cache would remove the need for the "Get all messages"
> buttons too, thus simplifying the GUI.

But there's one problem: the log can be shown for the wc root, but also
just for individual files. It can be shown up to the first copy
operation or for a date range.

If we would do such a cache, we would have to
- store it somewhere. The registry isn't really an option for such big
data amount (e.g. the Subversion log from HEAD to rev 1 uses about 7MB)
- always fetch the log from the repository root, which requires another
round trip to the server and therefore takes more time than just
fetching a log of e.g the last 100 messages
- implement a special filter so if the user requests a log for just a
file only the log messages for that files are shown

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Mar 30 18:18:26 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.