Mercurial hook not executing properly

后端 未结 9 1416
北恋
北恋 2020-12-30 12:02

This should be a very simple thing to have run, but for some reason it won\'t work with my Mercurial repository. All I want is for the remote repo to automatically run

9条回答
  •  [愿得一人]
    2020-12-30 12:40

    You need to have it in the remote repositiory's hgrc. It sounds as if it's in your local repo.

    Edit: It also depends on how you're pushing. Some methods don't invoke hooks on the right side. (ssh does, I think HTTP does, file system does not)

    Edit2: What if you push "locally" at the remote repo's computer. You might have different users/permissions between the webserver and the hgrc-file. (See [server] and trusted directives for hgrc.)

提交回复
热议问题