[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: Stefan Sperling <stsp_at_elego.de>
Date: Sun, 25 Apr 2010 11:05:57 +0200

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
Received on 2010-04-25 11:06:38 CEST

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.