[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Sharing repos between Linux and Windows

From: Mathieu Frenette <mathieu_at_silphid.com>
Date: 2003-09-29 21:33:56 CEST

Dear subversives!

As many of you, I must deal with the duality of Linux and Windows in my
development work. For this, I have a FAT32 partition on which I store
everything I want to share between the two OSes, which includes my
Subversion repository. However, it seems like any repository created
from within one OS is not usable in the other OS. More specifically, it
looks like the Berkeley DB chokes on the database files. I suspect the
culprits to be the CR/LF line terminators (in the database files) which
are not treated the same on both OSes. I guess that I could mount my
FAT32 partition with auto-conversion, but I'm afraid it would screw up
the binary files.

This is the error message I get in Linux when I try to do anything on a
repository I created in Windows:

$ svn checkout file:///svn/trunk
subversion/libsvn_ra_local/ra_plugin.c:159: (apr_err=180001)
svn: Couldn't open a repository.
svn: Unable to open an ra_local session to URL
subversion/libsvn_ra_local/split_url.c:112: (apr_err=180001)
svn: Unable to open repository 'file:///svn/trunk'
subversion/libsvn_fs/bdb/bdb-err.c:58: (apr_err=160029)
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem /svn/db:
Resource temporarily unavailable

And I get something similar in Windows, for a repository created in Linux.

I can do a "svnadmin recover /svn" in either OS to make it work, but it
screws it up for the other OS. I guess that the recovery process fixes
the line terminators in some way, so that it matches the OS's
conventions, but that doesn't help in my case, since I want to be able
to switch from one OS to the other (without having to perform a recovery
everytime! ;-)

I'm sure many of you must have the same needs, so I would really like to
hear how you fixed it up. Any help would be greatly appreciated.

Best regards,

Mathieu.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 29 21:35:17 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.