This documentation was written to describe the 1.6.x series of Subversion. If you are running a different version of Subversion, you are strongly encouraged to visit http://www.svnbook.com/ and instead consult the version of this documentation appropriate for your version of Subversion.

Name

svnadmin setrevprop — Set a property on a revision.

Synopsis

svnadmin setrevprop REPOS_PATH -r REVISION NAME FILE

Description

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).

Options

--revision (-r) ARG
--use-post-revprop-change-hook
--use-pre-revprop-change-hook

Examples

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.