Name
svnadmin setuuid — Reset the repository UUID.
Synopsis
svnadmin setuuidREPOS_PATH
[NEW_UUID
]
Description
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.
Options
None.
Examples
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.
Get Version Control with Subversion, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.