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

Re: Sharing SVN-Repository between Linux/x86 and WinNT

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-12-08 21:06:46 CET

Aaron Optimizer Digulla wrote:

>On Fri, Dec 05, 2003 at 12:17:47AM +0100, Branko ??ibej wrote:
>
>
>
>>>I've created a repository on a Memory stick under Linux and
>>>then tried to checkout the contents on WinNT but I just
>>>get the message that the DB is corrupt and that I must
>>>use the DB utils to recover it.
>>>
>>>Isn't it possible to access the same repository from Windows
>>>and Linux (for example via NFS or Samba)?
>>>
>>>Doesn't the DB store its files in binary mode?
>>>
>>>
>>>
>>>
>>Binary mode has nothing to do with it. Berkeley DB databases can not be
>>used on different platforms. You must use a portable dump format to move
>>them, either using BDB's db_dump/db_load utils, or (for an SVN
>>repository) our svnadmin dump/svnadmin load.
>>
>>
>
>:-( That's bad. Well, it seems that I have to resort to CVS then.
>
>
What for? Won't svnserve work just fine?

(By the way -- using the same CVS files from both Windows and Linux is
likely to play merry hell with your data, because things _will_ break,
except that CVS won't tell you about it until it's too late).

>Or as my old boss said: "Most people who use a DB will find that it
>causes more trouble than it solves." ;-)
>
That's a very simplistic view of life. Anyway, SVN developers aren't
"most people." :-)

>From my point of view, extending CVS would have been more simple.
>
Your point of view is somewhat suspect, since you haven't tried to
implement Subversion's features on tup of CVS.

> Especially when you look
>at the list of dependencies (CVS: None. Subversion: Apache,
>
Apache is ot a dapandency

>Berkeley DB,
>
Yes

> OpenSSL, ...).
>
>
No

Most of what you listed are optional extras, not requirements.

>Is the "stale lock" bug (svn sometimes leaving a lock on the DB)
>solved already? If it is: How many hours did you spend on this one?
>
>
Does it matter? How many hours do you think we'd spend on getting atomic
commits into CVS? Yikes!

Show me one solution to CVS's server process leaving locks in the
repository (apart from the "admin goes and removes the lock files by
hand", or the next step, "cron removes CVS lock files").

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 8 21:07:52 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.