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

RE: svnadmin hotcopy losing revprops

From: Matthews, David <david.matthews_at_metoffice.gov.uk>
Date: Fri, 8 Nov 2013 13:59:27 +0000

> -----Original Message-----
> From: Philip Martin [mailto:philip.martin_at_wandisco.com]
> Sent: 08 November 2013 10:19
> To: Matthews, David
> Cc: subversion_users_at_googlegroups.com
> Subject: Re: svnadmin hotcopy losing revprops
> dpm <david.matthews_at_metoffice.gov.uk> writes:
> > I'm using svn 1.8.4 on RHEL 6.3 (we're in the process of trying to upgrade
> > from svn 1.6 to 1.8).
> > However, the svnadmin hotcopy command doesn't appear to be working
> > correctly with the
> > repositories I've copied over from our 1.6 server - most of the db/revprop
> > directories are missing.
> I can reproduce this, hotcopy fails to copy some of the revprops
> corresponding to packed revisions when the repository is 1.7
> or earlier
> format:
> svnadmin create repo --compatible-version 1.7
> perl -i -pe s/1000/10/ repo/db/format
> for i in `seq 0 75`;do echo $i >> x.x ; svnmucc -mm put x.x
> file://`pwd`/repo/f ; done
> svnadmin pack repo
> svnadmin hotcopy repo repo2
> The bug was introduced to 1.8 by r1520723 and is still
> present on trunk.

Thanks for your response (although it doesn't seem to have made it
to the archive yet - perhaps because I used google groups?).
It's good to know that the problem is reproducible.
I'll go back to using 1.8.3 for the moment.

Do you think this bug needs advertising more widely somehow?
Our backup procedure relies on hotcopy and, if I hadn't discovered
this during my testing, we could have ended up having no useable
backups which is a scary thought.

David Matthews
Received on 2013-11-08 15:00:55 CET

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.