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

Re: svnadmin hotcopy fail with 1.6.11

From: Andy Peters <devel_at_latke.net>
Date: Mon, 26 Apr 2010 11:14:47 -0700

On Apr 25, 2010, at 2:05 AM, Stefan Sperling wrote:

> On Sat, Apr 24, 2010 at 10:15:47PM -0700, Andy Peters wrote:
>> Hello, list ...
>>
>> I just updated a server from 1.6.3 to 1.6.11, running on Fedora 7. I
>> didn't do a dump and load on the repository.
>>
>> When running svnadmin hotcopy on the repo, I get a complaint about
>> file fsfs.conf not found. When I looked in the repo, I didn't see this
>> file, so that explains the error. But what has changed between 1.6.3
>> and 1.6.11 that would cause this error, and better yet, how do I fix
>> it?
>
> There was a bug in versions prior to 1.6.11 which caused fsfs.conf
> not to be copied during hotcopy (it had simply been forgotten).
>
> From http://svn.apache.org/repos/asf/subversion/trunk/CHANGES :
>
> Version 1.6.11
> (19 Apr 2010, from /branches/1.6.x)
> http://svn.apache.org/repos/asf/subversion/tags/1.6.11
>
> User-visible changes:
> [...]
> * make 'svnadmin hotcopy' copy the fsfs config file (r905303)
>
> Since you hotcopied your repository with versions of Subversion
> which had the bug, you lost your fsfs.conf (probably some time ago).
>
> Now svnadmin complains if the file isn't there. But you can easily
> recreate it. Either copy it from a freshly created repository,
> or create an empty file called fsfs.conf (either way will give you
> the default configuration).
>
> I'd rather not make this error non-fatal because people might be
> relying on fsfs.conf and not realise that it has disappeared.
>
> Stefan

Perfect! I found some examples online and it seems like the options offered by fsfs.conf don't apply to me, so I simply created an empty file and that all works now.

Thanks,
-a
Received on 2010-04-26 20:15:17 CEST

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