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

svnadmin hotcopy losing revprops

From: dpm <david.matthews_at_metoffice.gov.uk>
Date: Tue, 5 Nov 2013 07:39:39 -0800 (PST)

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.
See output below.
It works OK if I upgrade the repository first.
Am I missing something obvious?


+ cat orig.svn/format
+ cat orig.svn/db/min-unpacked-rev
+ ls orig.svn/db/revprops
0 1 2 3 4 5 6 7
+ svnadmin verify -q orig.svn
+ svnadmin hotcopy orig.svn copy.svn
+ ls copy.svn/db/revprops
0 7
+ diff -r orig.svn copy.svn
Binary files orig.svn/db/rep-cache.db and copy.svn/db/rep-cache.db differ
Only in orig.svn/db: rev-prop-atomics.shm
Only in orig.svn/db/revprops: 1
Only in orig.svn/db/revprops: 2
Only in orig.svn/db/revprops: 3
Only in orig.svn/db/revprops: 4
Only in orig.svn/db/revprops: 5
Only in orig.svn/db/revprops: 6
Only in copy.svn/db: txn-current-lock
Only in copy.svn/db: write-lock
+ svnadmin verify -q copy.svn
svnadmin: E000002: Can't open file 'copy.svn/db/revprops/1/1000': No such
file or directory
+ svnadmin upgrade orig.svn
Repository lock acquired.
Please wait; upgrading the repository may take some time...

Upgrade completed.
+ svnadmin hotcopy orig.svn copy2.svn
+ diff -r orig.svn copy2.svn
Binary files orig.svn/db/rep-cache.db and copy2.svn/db/rep-cache.db differ
Only in orig.svn/db: rev-prop-atomics.shm
Only in copy2.svn/db: txn-current-lock
+ svnadmin verify -q copy2.svn
Received on 2013-11-07 07:10:16 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.