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

Repository structure

From: Jan Horák <horak.honza_at_gmail.com>
Date: Wed, 10 Mar 2010 00:50:08 +0100

Hi, after a long pause I started to analyze the SQL backend again. I'm
just studying the BDB and FSFS backends to collect all requirements
needed to design the SQL scheme.

1) I have already taken a look at the SVN source to find out, which
operations in the DAG (repository tree) are used mostly while an
ordinary checkout is performing (or generally while the repository is
reading). It seems like the most used operation is retrieving the
ancestors in the tree, while reading a subtree is not used so often, am
I right?

2) The aim of the second question is to imagine, how the repository
looks inside (in BDB backend for example). I've prepared very simple
snapshot (see the attachment, hope it will be attached) of the
repository objects after two simple commits.
   * The first commit will add a directory '/b' and files 'a.txt' and
'/b/c.txt' to the root in an empty repository.
   * The second commit will change the content of the file 'a.txt', add
a file 'd.txt' and rename the directory '/b' to '/bb'.
The attached picture shows how I imagine the repository (very simple, no
copies and changes table, many attributes are not shown). If anybody
from developers has a second, please, could you take a look at the
picture, if there is not any critical mistake?

Thanks for answers

Jan Horak
Received on 2010-03-10 00:50:40 CET

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

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