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

Re: svn: Can't close activity db: Error string not specified yet

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-08 14:33:16 CEST

On Jul 7, 2005, at 3:45 PM, Keven Ring wrote:
>
> So, before I charge off and run the repository on Linux, I should
> really ask, how platform independent is the rest of the SVN
> repository? BTW, the repository is using the FSFS.

The FSFS part is portable, that is, the stuff living in repos/db/.
So is everything else, *except* possibly the contents of the dav/
directory.

If you are using mod_dav_svn, then as I mentioned before, it uses the
apr_dbm_*() API to track the names of transactions ("activities", in
dav parlance). The exact dbm being used may vary from system to
system, and the resulting files aren't guaranteed to be portable at
all. (For example, if it turns out that BDB is being used, then BDB
is *definitely* portable between different endian-architectures.)

The thing is, the 'activities' database is just a bunch of transient
temporary data. Once a commit completes, the activity is removed
from the database (or if it isn't, it doesn't matter; the activity
is never looked up again.) They only persist during a commit. After
that, svn clients forget about them forever. So the simple answer
is: forget about them. If you're copying the whole repository to
another machine, just delete the contents of repos/dav/. A new
database will be automatically recreated by mod_dav_svn the next time
a commit happens.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 8 14:36:48 2005

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.