我的SVN服务器为同步代码配置钩子,但我的客户端在我提交时给出了错误消息:
post-commit hook failed (exit code 1) with output:
svn: E155007: None of the targets are working copies我的钩子配置:
"C:\Program Files\VisualSVN Server\bin\svn.exe" update "C:\tomcat\webapps\project" --quiet --username abc123 --password abc123发布于 2017-12-20 20:52:47
该错误意味着"C:\tomcat\webapps\project“不是工作副本。因此,它不能更新。您应该仔细检查并输入您计划通过钩子脚本更新的工作副本的正确路径。
顺便说一句,不要忘记在脚本中使用--非交互选项并阅读documentation。
https://stackoverflow.com/questions/47904990
复制相似问题