English 中文(简体)
SVN post-commit hook not implementing file
原标题:SVN post-commit hook not executing file

我制作了一个外事文件,将印刷成文件,以了解它收到的第一和第二个论点。

在社保会后 h中,我写道:

PATH_TO_FILEprint.exe "%1" "%2"

当我做一个检查时,它就会 st。

%1 is the PATH
%2 is revision number

http://www.ohchr.org。

我的回答是,可执行的档案应当放在SVN服务器的“宾”目录上,而不是存放处的hoo。

Thank you all, Oded.

问题回答

rel=“nofollow noreferer”>Print 要求打印者填写档案。 您正在提供一张目录,以假定您的描述。 撰写材料。

echo "%1" "%2" > c:	emplog.txt

我们谈论的是哪一个顾问? 如果是视窗一,就不认为你应该围绕参数有报价(“)。

“PATH_TO_FILE”是什么? 环境变数? 它有什么价值? 你们是否检查了它是否包括最后的反弹? 您在改变环境变量后重新启动。 它是系统广泛或用户一级的环境变量。 请注意,如果你作为服务机构管理特殊志愿人员网络服务器,则该服务器在不同的用户下运行,那么该用户可能不会被界定。 为什么你现在不直接走这条道路,只是检验它与不正确的环境变量毫不相干。

你们说,“一帆风顺”你会错吗? 究竟发生了什么? 关于如何失败的更多细节可能有所帮助。

如果是视窗,请将任何错误转至档案中:

PATH_TO_FILEprint.exe %1 %2 > c:output.txt

这是否是一种简单的SVN服务器,或者是使用视觉SVN服务器?

它必须成为Windows环境,因为我看着印刷版。 我只赞同以下观点。

echo %1 %2 >&2

这似乎在未经问答的情况下向指挥部印刷。





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签