hooks目录下面的那些示例是用在linux下面的,在windows中无法运行,需要修改。 

在hooks目录下面增加pre-revprop-change.bat,内容:

# Here is an example hook script, for a Unix /bin/sh interpreter.# For more examples and pre-written hooks, see those in
# the Subversion repository at
# [url]http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/[/url] and
# [url]http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/[/url]
rem Only allow log messages to be changed.
if "%4" == "svn:log" exit 0
echo Property '%4' cannot be changed >&2

exit 1 

  

相关文章:

  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-07-24
  • 2021-10-07
猜你喜欢
  • 2021-08-10
  • 2022-12-23
  • 2021-05-06
  • 2021-12-08
  • 2021-10-03
  • 2022-01-16
相关资源
相似解决方案