SVN错误:No such file commit-email.pl的解决方法
通过 TortoiseSVN 提交时,我收到以下错误:
错误:提交后挂钩失败(退出代码 127),输出: 错误:/home/svnRepos/proj/Blah/hooks/post-commit:第 52 行: /usr/share/doc/subversion-1.4.2/tools/hook-scripts/commit-email.pl:否 这样的文件或目录
...
我对此进行了研究,发现现在有以下路径: /usr/share/doc/subversion-1.6.11/tools/hook-scripts/
在该文件夹中有一个 commit-email.rb 文件。
如果您有机会知道为什么我们的 SVN 试图回顾 1.42 发送电子邮件挂钩时的文件夹?
非常感谢有关如何解决此问题的任何其他建议。
I received the following error when committing via TortoiseSVN:
Error: post-commit hook failed (exit code 127) with output:
Error: /home/svnRepos/proj/Blah/hooks/post-commit: line 52:
/usr/share/doc/subversion-1.4.2/tools/hook-scripts/commit-email.pl: No
such file or directory
...
I looked into this and noticed that there is now the following path:
/usr/share/doc/subversion-1.6.11/tools/hook-scripts/
In that folder there is a commit-email.rb file.
Any chance you might know why our SVN is trying to look back in the 1.42
folder when sending out the email hook?
Any other suggestions about how to solve this problem are greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需转到提交后文件 ( /home/svnRepos/proj/SRP/hooks/post-commit ) 第 52 行,编辑对 commit-email.pl 的引用并将其更改为较新的脚本。
Just go to your post-commit file ( /home/svnRepos/proj/SRP/hooks/post-commit ) line 52, edit the reference to the commit-email.pl and change it to the newer script.