.net - svn hooks 会因为 .NET 的原因而读取 vbs、ruby 等脚本吗?

标签 .net svn version-control vbscript svn-hooks

我是 .NET 世界的新手,我想澄清一下我的理解。

SVN Hook 能够读取 Ruby 或 Visual Basic 脚本等的原因是因为这些 Hook 是在 .NET Framework 下编译的吗?

谢谢

最佳答案

根据Docs ,每个可执行文件都可以用于钩子(Hook):

On Unix platforms, this means supplying a script or program (which could be a shell script, a Python program, a compiled C binary, or any number of other things) named exactly like the name of the hook. Of course, the template files are present for more than just informational purposes—the easiest way to install a hook on Unix platforms is to simply copy the appropriate template file to a new file that lacks the .tmpl extension, customize the hook's contents, and ensure that the script is executable. Windows, however, uses file extensions to determine whether or not a program is executable, so you would need to supply a program whose basename is the name of the hook, and whose extension is one of the special extensions recognized by Windows for executable programs, such as .exe or .com for programs, and .bat for batch files.

所以简短的回答是:不。

关于.net - svn hooks 会因为 .NET 的原因而读取 vbs、ruby 等脚本吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12264980/

相关文章:

c# - 这个 LINQ 表达式可以从方法语法转换为查询语法吗?

svn - 如何从我的Subversion托管帐户创建转储文件?

excel - 使用 VBA 在 Excel 中刷新对 VBProject.VBComponents 所做的更改

.net - Microsoft ACE 驱动程序更改了程序其余部分中的浮点精度

.net - Visual Studio,测试资源管理器启动单元测试很慢

.net - 如何从 .NET 发布 SOAP 请求?

svn: E160013: 文件未找到:修订版 21602,路径 'XXX' SVN 日志查询

svn - 存储库提交消息礼仪

git - 如何重命名推送到 GitHub 的 Git 提交?

c# - 恢复被 Visual C# Form Designer 删除的代码?