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?

Thanks

+ cat orig.svn/format
5
+ cat orig.svn/db/min-unpacked-rev
7000
+ 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


Reply via email to