/[Apache-SVN]
ViewVC logotype

Revision 875597


Jump to revision: Previous Next
Author: danielsh
Date: Wed Jan 28 11:52:59 2009 UTC (15 years, 3 months ago)
Changed paths: 1
Log Message:
Fix 'svnadmin hotcopy' of packed repositories.

To reproduce (with vanilla trunk):

	#!/bin/sh
	rm -rf Foo Bar Bar2
	svnadmin create Foo
	sed -i 's/sharded 1000/sharded 1/' Foo/db/format
	svnadmin hotcopy Foo Bar
	svnadmin pack Foo
	echo "=== *Now* it will error:"
	svnadmin hotcopy Foo Bar2
	
The bug was found by svnadmin_tests.py with -DPACK_AFTER_EVERY_COMMIT.  (It
did not reproduce if only --fsfs-packing was used to enable packing in the
post-commit hook in the tests.)

* subversion/libsvn_fs_fs/fs_fs.c
  (svn_fs_fs__hotcopy):
    Account for packed shards when copying the revs/ directory.

Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_fs_fs/fs_fs.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26