我已经为此搜索了一段时间,但什么也没看到。这可能意味着,它不应该完成,或者它就是不能完成。
我查看了 mercurial 的钩子列表,但在您发出 hg pull 命令后,我似乎找不到(或让一个工作)执行脚本。
谢谢
我已经为此搜索了一段时间,但什么也没看到。这可能意味着,它不应该完成,或者它就是不能完成。
我查看了 mercurial 的钩子列表,但在您发出 hg pull 命令后,我似乎找不到(或让一个工作)执行脚本。
谢谢
"incoming"
Run after a changeset has been pulled, pushed, or unbundled into the
local repository. The ID of the newly arrived changeset is in
"$HG_NODE". URL that was source of changes came is in "$HG_URL".
或者...
"post-<command>"
Run after successful invocations of the associated command. The contents
of the command line are passed as "$HG_ARGS" and the result code in
"$HG_RESULT". Parsed command line arguments are passed as "$HG_PATS" and
"$HG_OPTS". These contain string representations of the python data
internally passed to <command>. "$HG_OPTS" is a dictionary of options
(with unspecified options set to their defaults). "$HG_PATS" is a list
of arguments. Hook failure is ignored.
(文档还详细介绍了配置的实际外观以及如何调用挂钩脚本。)