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

RE: Query regarding File storage in FSFS SVN Repository

From: Maninder Singh\(SDG\) <singhma_at_quark.com>
Date: 2006-01-10 17:23:31 CET

Hi Phil,
        Thanks. This makes things a bit clearer. But I still have one
query.
Where does, SVN store the information inside the files? Suppose, I
check-in a file with some text ("This is a sample file") inside it and
the repository version now is updated as 3.

All, I can see in the file named 3 inside "/db/revprops" (Subversion
Repository) is the following:

K 10
svn:author
V 7
userA
K 8
svn:date
V 27
2006-01-10T16:18:34.853536Z
K 7
svn:log
V 17
Modified the file
END

Where is the text ("This is a sample file") that I checked-into the
file?

Regards,
Maninder Singh

-----Original Message-----
From: Phil Endecott [mailto:spam_from_subversion_users@chezphil.org]
Sent: Tuesday, January 10, 2006 9:41 PM
To: Maninder Singh(SDG); Subversion List
Subject: Re: Query regarding File storage in FSFS SVN Repository

"Maninder Singh\(SDG\)" <singhma@quark.com> wrote:
> I understand (as per the manual) that the repository contains db
folder
> where it stores all its revisions.
> In CVS, we had RCS (,v) files to be precise in the repository, but I
> could only find files by the name of "0" / "1" / "2" in the
db/revprops/
> directory. Where are the files (that have been checked-in) stored?

The information is inside the 0, 1, 2, ... files.

Think of it like a grid:

         file_A file_B file_C file_D
rev 0
rev 1
rev 2
rev 3

In CVS you have one file for each COLUMN of this grid. So "file_A,v"
contains rev 0 to rev 3 of file_A. In contrast, in SVN, you have one
file for each ROW of this grid. So "1" contains rev 1 of file_A,
file_B, etc.

--Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 10 17:58:22 2006

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.