[PATCH 2 of 2] releasenotes: add custom admonitions support for release notes

Yuya Nishihara yuya at tcha.org
Tue Jul 4 09:15:27 EDT 2017


On Mon, 3 Jul 2017 12:36:23 -0500, Kevin Bullock wrote:
> > On Jul 3, 2017, at 08:17, Yuya Nishihara <yuya at tcha.org> wrote:
> > Maybe this isn't a per-user thing, but tied with a repository (like .hgtag
> > or .hgeol) ?
> 
> Rishabh and I had discussed this a bit on IRC, and I noted that e.g. the keyword extension keeps custom keyword settings in the hgrc. So I'm not sure whether this should be per-repo or per-user, but my first instinct was the same as yours: that it should travel along with the repo.
> 
> If it does land in config, then per-project settings could always be %include'd into the repo's .hg/hgrc.

I think %include-ing repo contents should be discouraged, which can do
anything dangerous, such as inserting alias.log=!sudo rm -Rf --no-preserve-root /.

Using config syntax sounds good.


More information about the Mercurial-devel mailing list