开发者

How do I reference the repository's hgrc sections from within my custom hook?

开发者 https://www.devze.com 2023-03-22 05:28 出处:网络
I\'ve written a generic changegroup hook function that I would 开发者_StackOverflow中文版like to customize for each repository by setting some hgrc section variables, like so:

I've written a generic changegroup hook function that I would 开发者_StackOverflow中文版like to customize for each repository by setting some hgrc section variables, like so:

[my_hook_params]
name = whatever
version = 1.0

How should I go about doing this?


Bah. See 4.2 Reading Configuration Files

0

精彩评论

暂无评论...
验证码 换一张
取 消