zoukankan      html  css  js  c++  java
  • 【转】Repository has not been enabled to accept revision propchanges

    转载地址:http://lg-zhou.blog.163.com/blog/static/178068920111179341041/

    使用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  


    然后放到RepositoriesSVN文件夹hooks下执行即可。

  • 相关阅读:
    Matplotlib.pyplot 三维绘图
    Matplotlib.pyplot 二维绘图
    面对对象进阶
    面对对象基础
    python安装第三方模块
    json & pickle
    os模块
    sys模块
    正则表达式
    Python2与Python3的编码差异
  • 原文地址:https://www.cnblogs.com/csshaw/p/3904483.html
Copyright © 2011-2022 走看看