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