You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Maninder Singh(SDG)" <si...@quark.com> on 2006/01/10 13:37:48 UTC

Query regarding File storage in FSFS SVN Repository

Hi All,
	I have been using CVS for quite some time now and have recently
been introduced to subversion. I created an FSFS repository on one of my
test systems. 
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? I'm a
bit puzzled here.

Regards,
Maninder Singh

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


Re: Query regarding File storage in FSFS SVN Repository

Posted by FG <fg...@verizon.net>.
Phil Endecott wrote:
> 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.
>
>   
I have to say - I've been reading this list for a year and a half, and I 
have never seen anyone explain the different storage techniques between 
CVS and SVN as simply as Phil just did.

Well done.

Regards,
Frank

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

Re: Query regarding File storage in FSFS SVN Repository

Posted by Phil Endecott <sp...@chezphil.org>.
"Maninder Singh\(SDG\)" <si...@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