Version Control with Subversion, 2nd Edition
by C. Michael Pilato, Ben Collins-Sussman, Brian W. Fitzpatrick
Name
svnadmin setlog — Set the log message on a revision.
Synopsis
svnadmin setlogREPOS_PATH-rREVISIONFILE
Description
Set the log message on revision
REVISION to the contents of
FILE.
This is similar to using svn
propset with the --revprop option to set
the svn:log property on a
revision, except that you can also use the option
--bypass-hooks to avoid running any
pre- or post-commit hooks,
which is useful if the modification of revision properties has not
been enabled in the pre-revprop-change hook.
Warning
Revision properties are not under version control, so this command will permanently overwrite the previous log message.
Options
--bypass-hooks
--revision (-r) REV
Examples
Set the log message for revision 19 to the contents of the file msg:
$ svnadmin setlog /var/svn/repos/ -r 19 msg
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access