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

Re: Upgrading BDB repositories on Win32

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-05-06 02:31:33 CEST

Philip Martin wrote:

>Branko ÄŒibej <brane@xbc.nu> writes:
>
>
>
>>So, it seems that the following procedure should work:
>>
>>--------
>> -- Make sure nobody is using the repository (stop Apache/svnserve,
>> restrict access via file://).
>> -- For each repository, using the old (1.1.x) binaries:
>> -- Run "svnadmin recover <repos-dir>";
>> -- Create a backup of the repository;
>> -- Run "svnadmin list-unused-dblogs <repos-dir>"
>> and remove the listed files;
>> -- Delete all the "<repos-dir>\db\__db.00?" files.
>> -- Upgrade Subversion.
>>--------
>>
>>
>
>That works, but only if I back out my error printing patch. So it
>leaves the problem that the remaining 4.2 log file will sometimes
>cause BDB to call bdb_error_gatherer() and so generate svn_error_t
>errors that never get cleared. I'm currently using the following to
>clear and ignore such errors:
>
>
[snip]

This patch looks fine to me, and IMHO should be ported to 1.2.x, too.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 6 04:18:59 2005

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

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