Announcement

Collapse
No announcement yet.

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

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

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

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

  • #2
    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:
    Compatible Format DB Format
    SVN 1.1 3 1
    SVN 1.2 3 1
    SVN 1.3 3 1
    SVN 1.4 5 2
    SVN 1.5 5 3 layout sharded 1000
    SVN 1.6 5 4 layout sharded 1000
    SVN 1.7 5 4 layout sharded 1000
    SVN 1.8 5 6 layout sharded 1000
    SVN 1.9 5 7 layout sharded 1000 addressing logical
    SVN 1.10 5 8 layout sharded 1000 addressing logical

    Comment


    • #3
      Originally posted by DougR View Post
      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:
      Compatible Format DB Format
      SVN 1.1 3 1
      SVN 1.2 3 1
      SVN 1.3 3 1
      SVN 1.4 5 2
      SVN 1.5 5 3 layout sharded 1000
      SVN 1.6 5 4 layout sharded 1000
      SVN 1.7 5 4 layout sharded 1000
      SVN 1.8 5 6 layout sharded 1000
      SVN 1.9 5 7 layout sharded 1000 addressing logical
      SVN 1.10 5 8 layout sharded 1000 addressing logical
      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.

      Comment


      • #4
        A quick search for "SVN shard" will give you lots of information. Here's one directly from the SVN 1.5 Release Notes: https://subversion.apache.org/docs/r...#fsfs-sharding

        The "addressing logical" feature was introduced in SVN 1.9 so, looking at the release notes: https://subversion.apache.org/docs/r...s-improvements

        The only thing to truly be concerned about is "how to obtain" those features. In general, you need to create 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.

        Comment


        • #5
          Okay! I've got it. Thank you very much!

          Comment

          Working...
          X