This text is a work in progress—highly subject to change—and may not accurately describe any released version of the ApacheTM Subversion® software. Bookmarking or otherwise referring others to this page is probably not such a smart idea. Please visit http://www.svnbook.com/ for stable versions of this book.
svnadmin setrevprop — Set a property on a revision.
svnadmin setrevprop REPOS_PATH -r REVISION NAME FILE
Set the property NAME
on
revision REVISION
to the
contents of FILE
. Use
--use-pre-revprop-change-hook
or --use-post-revprop-change-hook
to
trigger the revision property-related hooks (e.g., if
you want an email notification sent from your post-revprop-change
hook).
The following sets the revision
property repository-photo
to the contents
of the file sandwich.png
:
$ svnadmin setrevprop /var/svn/repos -r 0 repository-photo sandwich.png
As you can see, svnadmin setrevprop has no output upon success.