Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What is the difference between the following two files on an SVN server (ie not in a checked out repository)?

format
db/format

In our repositories the contents of the first is 5 while the contents of the second is 2

share|improve this question

1 Answer 1

up vote 13 down vote accepted

The format file contains information about Subversion repository format, while db/format holds information about Subversion Repository File System (FS) format.

Repository format number:

  • Formats 0, 1 and 2 were pre-1.0.
  • Format 3 was current for 1.0 through to 1.3.
  • Format 4 was an abortive experiment during the development of the locking feature in the lead up to 1.2.
  • Format 5 was new in 1.4, and is the first format which may contain BDB or FSFS filesystems with a FS format other than 1, since prior formats are accepted by some versions of Subversion which do not pay attention to the FS format number.

FSFS format number:

share|improve this answer
    
Thanks! Do you have any details about what the numbers mean? (I'm still going to accept your answer though, as you've answered my initial question) –  Rich Jun 7 '11 at 7:18
    
I've updated my answer with brief description of different repository and FSFS versions. –  Ivan Zhakov Jun 8 '11 at 7:57
    
Wonderful, thanks! –  Rich Jun 8 '11 at 8:39
    
And FSFS format 6 was added in Subversion 1.8. It adds revprop packing as well as a few other improvements. subversion.apache.org/docs/release-notes/… –  tgharold Aug 5 '13 at 11:16
    
@tgharold Thanks for reminder. I've added information about FSFS format 6 to my answer. –  Ivan Zhakov Aug 6 '13 at 22:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.