svnadmin setuuid — 重置版本库的UUID。
Reset the repository UUID for the repository located at
REPOS_PATH
. If
NEW_UUID
is provided, use that as the new
repository UUID; otherwise, generate a brand-new UUID for the repository.
If you've svnsynced /var/svn/repos
to /var/svn/repos-new
and intend to use
repos-new
as your canonical repository, you may want to
change the UUID for repos-new
to the UUID of
repos
so that your users don't have to check out a new
working copy to accommodate the change:
$ svnadmin setuuid /var/svn/repos-new 2109a8dd-854f-0410-ad31-d604008985ab
As you can see, svnadmin setuuid has no output upon success.