【发布时间】:2014-11-04 09:06:20
【问题描述】:
我刚开始使用 SVN 的钩子。基本上我是建立 SVN 存储库和一切的新手。 基本上我在这里要做的是将提交到存储库的任何内容复制到我现有的实时站点。
我正在使用 VisualSVN。这是我的 post-commit 挂钩代码或某种代码。
"%VISUALSVN_SERVER%bin\svn.exe" export mysvnurl D:\myfolder\websitefolder --quiet --non-interactive --force --username ***** --password *****
每次提交文件时都会出现此错误。
Error: post-commit hook failed (exit code 1) with output:
Error: svn: E730061: Unable to connect to a repository at URL mysvnurl
Error: svn: E730061: Error running context: No connection could be made because the target machine actively refused it.
关于如何解决错误的任何想法?我不确定是否输入了 write post-commit 命令,因为我只是使用 google 找到的。
【问题讨论】:
标签: svn version-control visualsvn-server