svn log message Edit

Reprinted: http: //lg-zhou.blog.163.com/blog/static/178068920111179341041/

When using the SVN version submit information, write footnotes incomplete. Right by the TortoiseSVN Show log comments submitted see, right see the option to Edit log message, but it gives an error after submitting tips:

Repository has not been enabled to accept revision propchanges;

ask the administrator to create a pre-revprop-change hook

Get access to information through an online solution, write a batch file pre-revprop-change.bat, as follows ::


SET REPOS="%1"

SET REV="%2"

SET USER="%3"

SET PROPNAME="%4"

SET ACTION="%5"

IF %ACTION% == "M" (IF %PROPNAME% == "svn:log" (EXIT 0))

ECHO "Changing revision properties %PROPNAME% is prohibited" >&2

EXIT 1  


Then put \ Repositories \ SVN folder \ to execute hooks \ under.

Reproduced in: https: //www.cnblogs.com/thirstycoder/p/3687139.html

Guess you like

Origin blog.csdn.net/weixin_34413802/article/details/93371097
svn