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

Re: Feature request - display revision properties in Log window

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-08-14 17:59:44 CEST

Martins Kemme wrote:
> Hi!
>
> According to subversion design, it is possible to add custom properties to
> revisions as such (set by "svn propset --revprop" flag). Some of these
> properties are reserved for Subversion internally like "svn:log". However users
> have an option to add other properties to support their configuration management
> process better. For example, users could add property "BuildNumber" and store
> revision related build number there or add property "UnitTestStatus", etc.
> It would be very handy if TortoiseSVN provided a feature to display custom
> revision properties in the log window.
>
> There are two quick ideas of implementation options.
> 1) Give user an option to define in "settings" which custom revision properties
> should be displayed in the log window. According to these settings, new columns
> should be shown in the log window. On the positive side, this shouldn't badly
> affect log window performance. On the negative side - users must configure TSVN,
> to get it working.
> 2) Another option would be to add a generic "Custom properties" column, where
> display all custom revision properties like 'Build=940; UnitTestStatus="Failed
> test 4923"'. However this approach seems to be ambitious and may impact log
> window performance as all properties have to be listed for every revision.

The problem with both your approaches is that this would be a *huge*
performance hit. For *every* revision, a separate connection to the
repository server would have to be done to fetch the properties. It
doesn't really matter how many properties there are in one revision -
they all get read in the same connection. But a new connection is
required for every shown revision.

You could ask the Subversion devs to change the log API so that *all*
revision props are returned when fetching the log, but I doubt that will
happen soon - I've already asked for that some time ago and there are
compatibility problems and server stress concerns about that.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 14 17:58:04 2007

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.