You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Matthew Follett <b2...@mun.ca> on 2008/08/07 11:59:21 UTC

Repository File Question

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.

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

 - Matthew Follett
Masters in Science (Computer Science)
Memorial University

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Repository File Question

Posted by Julian Foad <ju...@btopenworld.com>.
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:
<http://svn.collab.net/repos/svn/trunk/subversion/libsvn_fs_fs/structure>.

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.
<http://subversion.tigris.org/mailing-lists.html>

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@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org