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

Re: Repository File Question

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 07 Aug 2008 13:49:07 +0100

On Thu, 2008-08-07 at 09:29 -0230, Matthew Follett wrote:
> Hello, I am doing a masters thesis on reflecting changes in a repository and
> it's influence on code.
> Currently, I am trying to figure out how to look at the revision database to
> figure out how to find out how SVN uses the repository files (0, 1, 2, etc.)
> and figure how to change the reflected files in the repository, preferably what
> line has been changed.

Hi Matthew. I'm afraid I don't understand much of what you mean.
(Influence on code? "Reflected file" == the repository data
corresponding to one of the user's files? "What line" of what, when?) If
you are prepared to write a bit more specifically about what you want to
see or understand, we're more likely to be able to point you in the
right direction.

>From your mention of "repository files (0, 1, 2, etc.)" it sounds like
you want to understand Subversions's "fsfs" repository database format.
If so, see this document:

However, "fsfs" is just one of two kinds of database in which Subversion
can store its repository; the other is Berkeley DB ("bdb") which is
completely different. Subversion stores its repository "file system"
data (the sequence of revisions of the user's tree of files and
directories, with their properties) in either of these two different
databases, in a higher-level format that is portable between the two.
One way in which you can see this data is when it is serialised or
"dumped" to a "dump file" with the "svnadmin dump" command. It may be
this that you want to see if your interest is in version control rather
than database structure.

> Thank you for your time, and I am sorry if this is the wrong mailing list.

If you want to ask questions about how Subversion works, you can ask
here. Note that specific questions are more likely to be answered than
general ones. If you need to ask about how to use Subversion, for
example to use the "svnlook" tool to examine revisions in a repository,
then you should join the "users" list and ask there.

Make sure you refer to the book <http://svnbook.red-bean.com/>,
specifically the section entitled "Repository Layer".

Best regards,
- Julian

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-07 14:49:34 CEST

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.