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

RE: revisions

From: Erik Hemdal <erik_at_comprehensivepower.com>
Date: Mon, 5 Oct 2009 09:54:24 -0400

-----Original Message-----
From: vishwanath ramachandran_at_honeywell.com
Sent: Monday, October 05, 2009 2:24 AM
To: Erik Hemdal
Cc: users_at_subversion.tigris.org
Subject: RE: revisions

Erik, thanks for the detailed explanation, here are the steps I did


1. Created a repository using "svnadmin create"

2. Then did a svn checkout for the repository using tortoise svn

3. Added some folders /files to the repository using tortoise svn

4. Commit/update using TSVN

5. Everything is fine, while accessing the URL of the repository, it
shows 4 revisions(which I have added)

6. But at the db/revs folder it still shows 0, should it be 4 here too?



Not for a "sharded" repository.


Older versions of SVN would indeed keep a revs folder with possibly
thousands of revisions in it. Some computers have difficulty with this,
access to folders with many many items in them is slow. To avoid that
problem, SVN stores revs in "shards" (think just like pieces of broken glass
instead of one big piece). I think the default is 1000 revs per folder. So
the first 1000 revisions should show up under the 0 folder; then you'll get
a new folder "1000" and so forth. Access is faster because each folder is
limited to that 1000 "shards" or pieces of the data.


There's an option for deciding how many shards to put in each folder, but I
don't remember how to set it. If your repository is working OK for you,
there should be no worries. If you see the revs under folder 0, then you
can see what's going on here.




To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-05 15:55:48 CEST

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