New version of fsfs-reshard.py for repository maintenance
From: <ymartin59_at_free.fr>
Date: Wed, 24 Feb 2010 18:02:25 +0100 (CET)
Hello,
I have looked for ways to migrate old repositories to latest 1.6.x.
So in a first step, I have just apply "svnadmin upgrade" on repositories.
Now I'm aware the repositories are still in "linear layer" and sharding will become soon
So I have re-worked the fsfs-reshard.py tool to support new 1.6 formats with some additional
Usages:
$ fsfs-reshard.py repository target=n
$ fsfs-reshard.py repository n
This new script version does not upgrade the repository version. It only change layer linear/shard.
If the repository has packed shards, revisions are unpacked before re-sharding.
Of course, apply the script on a copy first. Do not hesitate to run "svnadmin verify repository"
Hope this job help any large repository administrator.
As it is my first real work with Python, it is necessary to review the source before committing - even if I have done a lot of tests.
Best regards
|
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.