a question of SVN repository that was created by wich version of subversion?

jeff.zhu
jeff.zhu
Can anyone help me to steal the question that how can I know a repository was created by which version of subversion ?

Last updated

DougR
DougR
It's actually "nearly impossible" to know which version of Subversion actually created a repository. The reason for this is that repositories can be in-place upgraded to newer formats - at least partially. And the more recent versions of Subversion can create repositories of the same format as older versions (i.e. using the "--compatible-version" option). At best you can determine what format the repository is "currently in", for instance: [TABLE="border: 1, cellpadding: 1, width: 500"] [TR] [TD]Compatible[/TD] [TD]Format[/TD] [TD]DB Format[/TD] [/TR] [TR] [TD]SVN 1.1[/TD] [TD]3[/TD] [TD]1[/TD] [/TR] [TR] [TD]SVN 1.2[/TD] [TD]3[/TD] [TD]1[/TD] [/TR] [TR] [TD]SVN 1.3[/TD] [TD]3[/TD] [TD]1[/TD] [/TR] [TR] [TD]SVN 1.4[/TD] [TD]5[/TD] [TD]2[/TD] [/TR] [TR] [TD]SVN 1.5[/TD] [TD]5[/TD] [TD]3 layout sharded 1000[/TD] [/TR] [TR] [TD]SVN 1.6[/TD] [TD]5[/TD] [TD]4 layout sharded 1000[/TD] [/TR] [TR] [TD]SVN 1.7[/TD] [TD]5[/TD] [TD]4 layout sharded 1000[/TD] [/TR] [TR] [TD]SVN 1.8[/TD] [TD]5[/TD] [TD]6 layout sharded 1000[/TD] [/TR] [TR] [TD]SVN 1.9[/TD] [TD]5[/TD] [TD]7 layout sharded 1000 addressing logical[/TD] [/TR] [TR] [TD]SVN 1.10[/TD] [TD]5[/TD] [TD]8 layout sharded 1000 addressing logical[/TD] [/TR] [/TABLE]
jeff.zhu
jeff.zhu
[QUOTE=DougR;n80319]It's actually "nearly impossible" to know which version of Subversion actually created a repository. The reason for this is that repositories can be in-place upgraded to newer formats - at least partially. And the more recent versions of Subversion can create repositories of the same format as older versions (i.e. using the "--compatible-version" option). At best you can determine what format the repository is "currently in", for instance: [TABLE="border: 1, cellpadding: 1, width: 500"] [TR] [TD]Compatible[/TD] [TD]Format[/TD] [TD]DB Format[/TD] [/TR] [TR] [TD]SVN 1.1[/TD] [TD]3[/TD] [TD]1[/TD] [/TR] [TR] [TD]SVN 1.2[/TD] [TD]3[/TD] [TD]1[/TD] [/TR] [TR] [TD]SVN 1.3[/TD] [TD]3[/TD] [TD]1[/TD] [/TR] [TR] [TD]SVN 1.4[/TD] [TD]5[/TD] [TD]2[/TD] [/TR] [TR] [TD]SVN 1.5[/TD] [TD]5[/TD] [TD]3 layout sharded 1000[/TD] [/TR] [TR] [TD]SVN 1.6[/TD] [TD]5[/TD] [TD]4 layout sharded 1000[/TD] [/TR] [TR] [TD]SVN 1.7[/TD] [TD]5[/TD] [TD]4 layout sharded 1000[/TD] [/TR] [TR] [TD]SVN 1.8[/TD] [TD]5[/TD] [TD]6 layout sharded 1000[/TD] [/TR] [TR] [TD]SVN 1.9[/TD] [TD]5[/TD] [TD]7 layout sharded 1000 addressing logical[/TD] [/TR] [TR] [TD]SVN 1.10[/TD] [TD]5[/TD] [TD]8 layout sharded 1000 addressing logical[/TD] [/TR] [/TABLE] [/QUOTE] DouR, thanks a lot! And would you please say something more about the DB Format of "sharded 1000" and "sharded 1000 addressing logical",I desire to got them.
DougR
DougR
A quick search for "SVN shard" will give you lots of information. Here's one directly from the SVN 1.5 Release Notes: [url]https://subversion.apache.org/docs/release-notes/1.5.html#fsfs-sharding[/url] The "addressing logical" feature was introduced in SVN 1.9 so, looking at the release notes: [url]https://subversion.apache.org/docs/release-notes/1.9#fsfs-improvements[/url] The only thing to truly be concerned about is "how to obtain" those features. In general, you need to [B]create[/B] the repository using the Subversion version that introduced the feature. To enable such features in older repositories requires dumping them and loading the dump into a repository created using the required Subversion version.
jeff.zhu
jeff.zhu
Okay! I've got it. Thank you very much!

1-5 of 5

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.

Post a reply
12185 views