简体   繁体   English

SVN提交后挂钩无法打开GUI

[英]SVN post-commit hook doesn't open up GUI

I've created a form application in .NET which will be used in the post-commit hook. 我已经在.NET中创建了一个表单应用程序,该应用程序将在提交后的挂钩中使用。 the problem is that the UI of the application is not shown. 问题是未显示应用程序的UI。

What may be the problem? 可能是什么问题?

Thanks. 谢谢。

EDIT 编辑

my UI should show Issue numbers of the developer. 我的用户界面应显示开发人员的问题编号。 from there he should choose the Issue number that will be inserted to the log message. 从那里,他应该选择将插入到日志消息中的发行编号。 I've completed the script. 我已经完成了脚本。 But the UI is not shown. 但是未显示用户界面。

Are you aware that the post-commit hook script is executed on the subversion server, right? 您知道提交后的钩子脚本是在Subversion服务器上执行的吗? It's not executed on the client side. 它不在客户端执行。 As Sander states above, there shouldn't be any interaction. 正如桑德(Sander)所述,不应进行任何互动。 Usual things you do within a post-commit hook: 您在提交后挂钩中执行的通常操作:

  • Send email 发电子邮件
  • Trigger an automated build 触发自动构建

并不是您问题的真正答案,但是如果您使用的是TortoiseSVN,那么有关问题跟踪器集成的文章可能会有所帮助。

Subversion hook scripts are designed as scripts, they shouldn't show user interface, or require user interaction. Subversion钩子脚本被设计为脚本,它们不应该显示用户界面或要求用户交互。

Can you explain what you're trying to achieve? 您能解释一下您要达到的目标吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM