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

Re: BDB backend in SVN 1.7.1

From: Vyacheslav Zholudev <vyacheslav.zholudev_at_gmail.com>
Date: Fri, 25 Nov 2011 14:10:58 +0100

On Nov 25, 2011, at 2:02 PM, Stefan Sperling wrote:

> On Fri, Nov 25, 2011 at 01:38:44PM +0100, Vyacheslav Zholudev wrote:
>> I guess "badness" can happen only when accessing repositories locally (not via svn:// or http(s)://) with patched and not patched SVN.
>> But usually only one version of SVN is installed on the server side, so that should not be a big problem.
>>
>> However, it's a nice exercise to check.
>
> Out of curiosity, what is the reason for this entire exercise?
> Is it purely academic or is there a use case where storing the HEAD
> revision as full-text is critical?

The reason for this is that I had a project based on SVN 1.4 which stored HEAD revisions of XML files in Berkeley DB XML - a native XML database-, instead of BDB. (reverted deltas as well as "normal" files kept on living in BDB). In this way I could also query HEAD XML files directly from SVN repository and access them via BDB XML API - thus it was a nice combination of SVN and XML-database. Recently I've ported my project to SVN 1.7 and due to forward deltas it didn't work as before -- only old revisions of XML files were in BDB XML. But now I changed SVN_FS_BASE__MIN_FORWARD_DELTAS_FORMAT to a higher number, and my project works again as expected.

Vyacheslav
Received on 2011-11-25 14:11:35 CET

This is an archived mail posted to the Subversion Users mailing list.

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