473,503 Members | 479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

pbmods
5,821 Recognized Expert Expert
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 12894
michaelsmale
1 New Member
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
6039
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
11156
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
11757
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
1693
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
3540
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
5057
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
2151
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
1469
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
12573
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
7089
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
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7339
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...
1
6995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7463
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...
0
5581
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5017
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.