pre-revprop-change hook either failed

后端 未结 4 1000
野的像风
野的像风 2021-02-01 07:43

I don\'t know if this hook is out-of-box or if mine is just messed up and I just need to replace it but when I go and try to edit a log comment on a commit I get this error mess

相关标签:
4条回答
  • 2021-02-01 07:54

    Just a little follow-up to Stefan's excellent answer for those using VisualSVN Server.

    You can follow these steps:

    1.) Start your VisualSVN Server Management Console.

    2.) Right-click on your repository-of-choice and select "Properties":

    enter image description here

    3.) Select the "Pre-revision property change hook" and click the Edit button:

    enter image description here

    4.) Enter your script, the smallest possible would be the exit 0 that Stefan suggests:

    enter image description here

    5.) Close all dialog boxes with OK and then you are done.

    The next time you change the log message it should succeed.

    0 讨论(0)
  • 2021-02-01 08:17

    if your repository is on a windows machine, simply create a file named pre-revprop-change.bat and add the line

    exit 0
    

    in it.

    0 讨论(0)
  • 2021-02-01 08:17

    If you are using an online svn hosting service like assembla, then use the instructions given by Uwe Keim to guide you. You only need to find your svn settings somewhere the the svn hosts website.

    For assembla > go to your project > svn tab > settings > server-side hooks in left menu > look at "Available pre-revprop-change hooks" > click the install button next to it > click on the svn tab to get back to your project.

    0 讨论(0)
  • 2021-02-01 08:21

    Create a bat file using only "exit 0". Remove all other rem'ed lines. Save it to Path\Repositories\hooks folder as "pre-revprop-change.bat" and try re-running.

    exit 0

    0 讨论(0)
提交回复
热议问题