473,395 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

svn: Expected FS format '2'; found format '3'

pbmods
5,821 Expert 4TB
I maintain a couple of web servers, and they synchronize changes via SVN with the development server.

The development server was running SVN v1.5.4, and the production servers were running SVN v1.5.2, and everybody was happy.

Adding a new site to the production servers was an easy task:
Expand|Select|Wrap|Line Numbers
  1. > ssh admin@production-server
  2. > svn co svn+ssh://user@development-server/path/to/svn/repos/domain.com
  3. A domain.com/www
  4. A domain.com/public_html
  5. ... snip ...
  6. Checked out revision 1
  7.  
This morning I noticed a rather cryptic (and consistent) error when trying to check out new repositories:

Expand|Select|Wrap|Line Numbers
  1. > ssh admin@production-server
  2. > svn co svn+ssh://user@development-server/path/to/svn/repos/domain.com
  3. svn: Expected FS format '2'; found format '3'
  4.  
I did some research, and I think this is the explanation:

When Subversion developers change the way SVN organizes files/data inside of a repository, they create a new format number. In essence, it's like a version number, except that it only applies to the way SVN repositories are laid out.

Different versions of SVN support different repository formats, with later versions supporting bigger repository formats (e.g., SVN 1.5.x can support formats 1-4, SVN 1.6.x can support format 5).

So far so good. What's weird, though, is that FS format 2 is (as far as I can tell) a SVN 1.4.x format.

Which is weird because, as mentioned above, both servers are running SVN 1.5.x.

After roughly 3 hours of troubleshooting, I finally found a workaround:

Expand|Select|Wrap|Line Numbers
  1. > cd /path/to/svn/repos
  2. > mv domain.com domain.com.old
  3. > svnadmin create --pre-1.5-compatible domain.com
  4. > svnadmin dump domain.com.old | svnadmin load domain.com
  5. ... SVN transfers the repository contents ...
  6.  
  7. > ssh admin@production-server
  8. > svn co svn+ssh://user@development-server/path/to/svn/repos/domain.com
  9. A domain.com/www
  10. A domain.com/public_html
  11. ... snip ...
  12. Checked out revision 1
  13.  
Note the --pre-1.5-compatible in the svnadmin create command above. Pre-1.5 compatible. As in compatible with 1.4. Because the server running SVN 1.5.2 can't seem to cope.

What's really confusing me is that any working copies that were already checked out on the production servers are still working. I can svn update, etc., and everything just works. I'm only running into trouble trying to check out new repositories.

I have no idea what I could possibly have done to change this, and I am now thoroughly confused.

Please point out the one thing I haven't considered that will fix everything! (:

Thanks for your time.
Apr 23 '09 #1
1 12889
Thank you for the very useful post. I was able to import my old versopm repositories in to the new version. Haven't created a new repository yet, am using TortoiseSVN. Did you ever manage to work out what was stopping it?
Dec 8 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: R. Rajesh Jeba Anbiah | last post by:
I'm searching for a pure svn client in PHP, but didn't find one yet. Also, I see many Wiki system designs are somewhat flawed as they didn't use incremental diff. Is there anyone who is aware of...
0
by: Sameers (theAngrycodeR) via .NET 247 | last post by:
I think I will get MAD very soon. Its very weired problem I amfacing here. Let me explain. I have two DBF files from which I want to export data in CSVformat. I created a desktop application and...
4
by: javatopia | last post by:
Hello, I am trying to show a Crystal Reports 10 Enterprise report in an ASP.NET page (C#). I can run the report via the admin console just fine. When I try to show the report, after setting up...
12
by: David Murmann | last post by:
hi all! i just built revision 41809 under winxp using a rather uncommon setup (at least i think so). since i have no visual studio here, i only used freely available tools: cygwin to get the...
4
by: James Stroud | last post by:
Hello All, I have been moving to managing a lot of my code with SVN and I have found it to work extremely well. However, I'm not exactly sure how to deal with all of the .pyc files that get...
1
by: yinglcs | last post by:
Hi, i have a simple test which tries to load 'svn' moddule. # python -c "from svn import client" Traceback (most recent call last): File "<string>", line 1, in ? ImportError: No module named...
3
by: gregpinero | last post by:
Going to this URL: http://svn.python.org/view/ It gives me an error: Unable to connect Firefox can't establish a connection to the server at svn.python.org. And using SVN as so: $ svn...
0
by: Tomas | last post by:
Dear group. I have some big problems getting python to work with svn. Python SVN and SWIG is compiled from source. I have been testing Python 2.5.1 and 2.4.4 together with SWIG 1.3.25 and 1.3.33...
7
by: rajevar | last post by:
well this is kind of strange. i have few scripts that run on a daily basis and it works good on one host . im my development env its failing on importError : no module svn I login as the user...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.