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

link|improve this question

68% accept rate
feedback

1 Answer

up vote 3 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:

link|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
feedback

Your Answer

 
or
required, but never shown

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