开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜