Martins Kemme wrote:
> 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.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Tue Aug 14 17:58:04 2007