Windows 系统,TortoiseSVN 无法修改 Log 信息解决方法

使用SVN提交版本信息时,注释内容写的不全。通过右键TortoiseSVN的Show log看到提交的的注释,右键看到Edit log message的选项,然而提交后却给出错误提示:

Repository has not been enabled to accept revision propchanges;

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

通过网上查阅资料得到解决方法,编写批处理文件pre-revprop-change.bat,内容如下::


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


然后放到\Repositories\SVN文件夹\hooks\下执行即可。

相关推荐
2601_961875244 天前
花生十三公考课程|网课|视频
数据库·windows·git·svn·eclipse·github
2601_961875244 天前
花生十三资料网盘|百度云|下载
数据库·windows·git·svn·eclipse·github
WSKH092910 天前
【操作记录】Mac 系统安装并使用 SVN
macos·svn
不想努力只想躺平的菜鸟ing11 天前
svn使用指南
svn
佛山个人技术开发11 天前
GitCode个人技术开发者总结完整使用指南
windows·git·svn·github·gitcode
深度学习040713 天前
SVN 独立服务端部署与客户端使用指南(CentOS/Rocky 9.5 + Windows)
windows·svn
hrw_embedded15 天前
svn架构下研发与产线异地办公程序共享问题?
svn·内网穿透http·研发与产线
snowjlz22 天前
鸿蒙版SVN来了!!!
git·svn·版本控制
2401_8769641322 天前
27考研余炳森概率论|喻老李良2027资料网课
windows·git·考研·svn·eclipse·github·概率论
Do_GH23 天前
【Linux】09.WSL+SVN部署操作说明
linux·运维·svn